|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lapetus_ltd._2009.xml.types.XLptsDBCreateStatementTableTemporaryType
com.lapetus_ltd.api.db.xml.types.TLptsDBCreateStatementTableTemporaryType
public class TLptsDBCreateStatementTableTemporaryType
Class Description : Initiates the temporary table type for the CREATE statements.
Field Summary |
---|
Fields inherited from class com.lapetus_ltd._2009.xml.types.XLptsDBCreateStatementTableTemporaryType |
---|
globalLocal, temporary |
Constructor Summary | |
---|---|
TLptsDBCreateStatementTableTemporaryType()
This constructor initiates the temporary variable and the GlobalLocal. |
|
TLptsDBCreateStatementTableTemporaryType(XLptsDBCreateStatementTableTemporaryType ctt)
This constructor copies the driver information from an TLptsDBCreateStatementTableTemporaryType. |
Method Summary |
---|
Methods inherited from class com.lapetus_ltd._2009.xml.types.XLptsDBCreateStatementTableTemporaryType |
---|
getGlobalLocal, isTemporary, setGlobalLocal, setTemporary |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TLptsDBCreateStatementTableTemporaryType()
This constructor initiates the temporary variable and the GlobalLocal.
Thread Safe : Yes
Spawns its own Thread : No
May Return NULL : Never.
Notes : Default Constructor set temporary to false and create a new TLptsCreateTableGlobalLocal.
Example :
TLptsStatement createStatement = new TLptsStatement(connection,XLptsDBTypeOfStatementType.CREATE); 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); //In some DBs the tables can be temporary TLptsDBCreateStatementTableTemporaryType temporary = new TLptsDBCreateStatementTableTemporaryType(); //Set true if we want the table to be temporary temporary.setTemporary(false); //Set against the temporary type TLptsDBCreateStatementTableGlobalLocal globalLocal = new TLptsDBCreateStatementTableGlobalLocal(); //Temporary table can be global, local or nothing specific globalLocal.setGlobalLocal(XLptsDBCreateStatementTableGlobalLocalType.GLOBAL); temporary.setGlobalLocal(globalLocal); table.setTemporary(temporary); ...
public TLptsDBCreateStatementTableTemporaryType(XLptsDBCreateStatementTableTemporaryType ctt)
This constructor copies the driver information from an TLptsDBCreateStatementTableTemporaryType.
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 TLptsDBCreateStatementTableTemporaryType class.
Example :
public void example(TLptsDBCreateStatementTableTemporaryType ctt) { TLptsCreateTableTemporary temporary = new TLptsCreateTableTemporary(ctt); }
ctt
- the class object to copy.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |