|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lapetus_ltd._2009.xml.types.XLptsDBCreateStatementRootType
com.lapetus_ltd.api.db.xml.types.TLptsDBCreateStatementRootType
public class TLptsDBCreateStatementRootType
Class Description : Initiates the root type for the CREATE statement.
Field Summary |
---|
Fields inherited from class com.lapetus_ltd._2009.xml.types.XLptsDBCreateStatementRootType |
---|
id, table, title, version |
Constructor Summary | |
---|---|
TLptsDBCreateStatementRootType()
This constructor initiates the Create Statement Root. |
|
TLptsDBCreateStatementRootType(XLptsDBCreateStatementRootType csrt)
This constructor copies the Create Root information from an existing XLptsDBCreateStatementRootType. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Check for equal TLptsDBCreateStatementRootType objects. |
Methods inherited from class com.lapetus_ltd._2009.xml.types.XLptsDBCreateStatementRootType |
---|
getId, getTable, getTitle, getVersion, setId, setTable, setTitle, setVersion |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TLptsDBCreateStatementRootType()
This constructor initiates the Create Statement Root.
Thread Safe : Yes
Spawns its own Thread : No
May Return NULL : Never.
Notes :
Default Constructor sets the ID, title as "CREATE" and set a new CreateTable.
Example :
//Create the statement and set the Type of Statement to Update. TLptsStatement createStatement = new TLptsStatement(connection,XLptsDBTypeOfStatementType.CREATE); //Get the rootType TLptsDBCreateStatementRootType rootType = new TLptsDBCreateStatementRootType(); rootType.setTitle("root"); //create a table TLptsDBCreateStatementTableType table = new TLptsDBCreateStatementTableType(); //Set the name of the table table.setTable("newTable"); //set the table in the root type rootType.setTable(table); ...
public TLptsDBCreateStatementRootType(XLptsDBCreateStatementRootType csrt)
This constructor copies the Create Root information from an existing XLptsDBCreateStatementRootType.
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 XLptsDBCreateStatementRootType class.
Example :
public void example(XLptsDBCreateStatementRootType csrt) { TLptsDBCreateStatementRootType root = new TLptsDBCreateStatementRootType(csrt); }
csrt
- the class object to copy.Method Detail |
---|
public boolean equals(java.lang.Object obj)
Check for equal TLptsDBCreateStatementRootType objects.
Thread Safe : Yes
Spawns its own Thread : No
May Return NULL : n/a
Notes : Use this to compare this class to another XLptsDBCreateStatementRootType objects.
Example :
equals
in class java.lang.Object
obj
- the odbc driver type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |