|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lapetus_ltd._2009.xml.types.XLptsDBCreateStatementColumnDefaultType
com.lapetus_ltd.api.db.xml.types.TLptsDBCreateStatementColumnDefaultType
public class TLptsDBCreateStatementColumnDefaultType
Class Description : This class initialises the default value of a CREATE Statement.
Field Summary |
---|
Fields inherited from class com.lapetus_ltd._2009.xml.types.XLptsDBCreateStatementColumnDefaultType |
---|
_default |
Constructor Summary | |
---|---|
TLptsDBCreateStatementColumnDefaultType()
This constructor initiates the Default Value of a Create Column Type. |
|
TLptsDBCreateStatementColumnDefaultType(XLptsDBCreateStatementColumnDefaultType ccd)
This constructor copies the Column Default from an XLptsDBCreateStatementColumnDefaultType. |
Method Summary |
---|
Methods inherited from class com.lapetus_ltd._2009.xml.types.XLptsDBCreateStatementColumnDefaultType |
---|
getDefault, setDefault |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TLptsDBCreateStatementColumnDefaultType()
This constructor initiates the Default Value of a Create Column Type.
Thread Safe : Yes
Spawns its own Thread : No
May Return NULL : Never.
Notes : Default Constructor initiate the default value to empty string.
Example :
//Create the statement and set the Type of Statement to Update. TLptsStatement createStatement = new TLptsStatement(connection,XLptsDBTypeOfStatementType.CREATE); ... //Create the columns //--Column idColumn TLptsDBCreateStatementColumnType idColumn = new TLptsDBCreateStatementColumnType(); //Set the column name idColumn.setColumn("id"); ... // now we set the default value of this column TLptsDBCreateStatementColumnDefaultType defaultValue = new TLptsDBCreateStatementColumnDefaultType(); defaultValue.setDefault("10"); idColumn.setDefault(defaultValue); ...
public TLptsDBCreateStatementColumnDefaultType(XLptsDBCreateStatementColumnDefaultType ccd)
This constructor copies the Column Default from an XLptsDBCreateStatementColumnDefaultType.
Thread Safe : Yes
Spawns its own Thread : No
May Return NULL : Never.
Notes : Use this function every time you need to copy or instantiate a type XLptsDBCreateStatementColumnDefaultType class.
Example :
public void example(XLptsDBCreateStatementColumnDefaultType ccd) { TLptsCreateColumnDefault columnDefault = new TLptsCreateColumnDefault(ccd); }
ccd
- the class object to copy.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |