|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lapetus_ltd._2009.xml.types.XLptsDBStatementTableType
com.lapetus_ltd.api.db.xml.types.TLptsDBStatementTableType
public class TLptsDBStatementTableType
Class Description : This initiates the XLptsDBStatementTableType, which holds the data for a single table in TLptsStatement.
TLptsStatement.getTableItemById(java.lang.String)
,TLptsStatement.getTableItemByName(java.lang.String)
,
TLptsStatement.getTableListItem()
.
Field Summary |
---|
Fields inherited from class com.lapetus_ltd._2009.xml.types.XLptsDBStatementTableType |
---|
id, selected, tableName, type |
Constructor Summary | |
---|---|
TLptsDBStatementTableType(java.lang.String table)
This constructor initiates the Statement Table Type. |
|
TLptsDBStatementTableType(XLptsDBStatementTableType stt)
This constructor copies the StatementTable information from an XLptsDBStatementTableType. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Check for equal TLptsDBStatementTableType objects. |
TLptsDBStatementTableType |
getCopy()
Returns an identical copy of the TLptsDBStatementTableType. |
java.lang.String |
toString()
Returns the table name. |
Methods inherited from class com.lapetus_ltd._2009.xml.types.XLptsDBStatementTableType |
---|
getId, getTableName, getType, isSelected, setId, setSelected, setTableName, setType |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TLptsDBStatementTableType(java.lang.String table)
Thread Safe : Yes
Spawns its own Thread : No
May Return NULL : Never.
Notes : This Constructor set table name the argument and defaults.
Example :
TLptsDBStatementTableType table = new TLptsDBStatementTableType("tableName"); }
table
- The name of the table.public TLptsDBStatementTableType(XLptsDBStatementTableType stt)
This constructor copies the StatementTable information from an XLptsDBStatementTableType.
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 XLptsDBStatementTableType class.
Example :
public void example(XLptsDBStatementTableType stt) { TLptsDBStatementTableType table = new TLptsDBStatementTableType(stt); }
stt
- the class object to copy.Method Detail |
---|
public boolean equals(java.lang.Object obj)
Check for equal TLptsDBStatementTableType objects.
Thread Safe : Yes
Spawns its own Thread : No
May Return NULL : n/a
Notes : Use this to compare two TLptsDBStatementTableType objects by there id's.
Example :
TLptsDBStatementTableType table1 = new TLptsDBStatementTableType(); TLptsDBStatementTableType table2 = new TLptsDBStatementTableType(); return table1.equals(table2);
equals
in class java.lang.Object
obj
- the Statement Table Type
public TLptsDBStatementTableType getCopy()
Returns an identical copy of the TLptsDBStatementTableType.
Thread Safe : Yes
Spawns its own Thread : No
May Return NULL : Never.
Notes : Use this function if you want to get an identical table.
Example :
TLptsDBStatementTableType table = new TLptsDBStatementTableType(); LinkedListnewTableList = new LinkedList (); newTableList.add(table.getCopy);
public java.lang.String toString()
Returns the table name.
Thread Safe : Yes
Spawns its own Thread : No
May Return NULL : Never.
Notes : Use this function if you want to get table name.
Example :
TLptsDBStatementTableType table = new TLptsDBStatementTableType(); if(table.toString.equals("clients")) return true;
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |