|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lapetus_ltd._2009.xml.types.XLptsDBCreateStatementTableGlobalLocal
com.lapetus_ltd.api.db.xml.types.TLptsDBCreateStatementTableGlobalLocal
public class TLptsDBCreateStatementTableGlobalLocal
Class Description : Initiates the global and local type for CREATE statements.
Field Summary |
---|
Fields inherited from class com.lapetus_ltd._2009.xml.types.XLptsDBCreateStatementTableGlobalLocal |
---|
globalLocal |
Constructor Summary | |
---|---|
TLptsDBCreateStatementTableGlobalLocal()
This constructor initiates GlobalLocal. |
|
TLptsDBCreateStatementTableGlobalLocal(XLptsDBCreateStatementTableGlobalLocal ctgl)
This constructor copies the driver information from an XLptsDBCreateStatementTableGlobalLocal. |
Method Summary |
---|
Methods inherited from class com.lapetus_ltd._2009.xml.types.XLptsDBCreateStatementTableGlobalLocal |
---|
getGlobalLocal, setGlobalLocal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TLptsDBCreateStatementTableGlobalLocal()
This constructor initiates GlobalLocal.
Thread Safe : Yes
Spawns its own Thread : No
May Return NULL : Never.
Notes : Default Constructor set globalLocal to NONE and active to false.
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 TLptsDBCreateStatementTableGlobalLocal(XLptsDBCreateStatementTableGlobalLocal ctgl)
This constructor copies the driver information from an XLptsDBCreateStatementTableGlobalLocal.
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 XLptsDBCreateStatementTableGlobalLocal class.
Example :
public void example(XLptsDBCreateStatementTableGlobalLocal ctgl) { TLptsCreateTableGlobalLocal globalLocal = new XLptsDBCreateStatementTableGlobalLocal(ctgl); }
ctgl
- the class object to copy.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |