|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGDbTableParms
The TWGDbTableParms class contains the optional fields for defining a Director table. This class should be used only in the create method of a TWGDatabaseTable subclass when defining initially defining the table.
Constructor Summary | |
---|---|
TWGDbTableParms()
Default constructor |
Method Summary | |
---|---|
void |
addIndex(java.lang.String name,
java.lang.String columns)
Add an index for the table. |
java.lang.String |
getGraphicName()
Get the icon graphic name |
HashTbl |
getIndices()
Get all the additional indices for a table |
java.util.Vector |
getKey()
Get the table key (as a vector) |
boolean |
isKeyUnique()
Is the key unique |
void |
setGraphicName(java.lang.String graphic)
Set the name of the icon graphic for the table |
void |
setKey(java.lang.String key)
Set the table key columns |
void |
setKeyUnique(boolean unique)
This method is obsolete and should not be used. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TWGDbTableParms()
Method Detail |
public void setKey(java.lang.String key)
key
- - a comma-delimited list of column token names that make up the key.
The order of the colum token names defines the key order.public java.util.Vector getKey()
public void setKeyUnique(boolean unique)
unique
- - specify true if the key identifies a unique record, otherwise falsepublic boolean isKeyUnique()
public void addIndex(java.lang.String name, java.lang.String columns)
name
- - a name for the index. This name will be prefixed with the table
token name.columns
- - a comma-delimited list of column token names that make up the index.
The order of the column token names defines the index order.public HashTbl getIndices()
com.tivoli.twg.libs.Hashtbl;
public java.lang.String getGraphicName()
public void setGraphicName(java.lang.String graphic)
graphic
- - The icon graphic name
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |