|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGDbQueryColumn
* The class describes information about a column in a result set of a query. *
*
,
Serialized FormConstructor Summary | |
---|---|
TWGDbQueryColumn(byte[] buf,
int offset)
Constructor to creat a TWGDbQueryColumn from intel byte buffer. |
|
TWGDbQueryColumn(java.lang.String realName,
java.lang.String displayColName,
int colType,
int colLength,
java.lang.String colTokenName)
Constructor for TWGDbQueryColumn. |
|
TWGDbQueryColumn(java.lang.String realName,
java.lang.String displayColName,
int colType,
int colLength,
java.lang.String colTokenName,
boolean filterColumn,
boolean mappedColumn,
int colIndex,
java.lang.String tableTokenName)
Constructor for TWGDbQueryColumn. |
Method Summary | |
---|---|
int |
getBufferLen()
Get length of buffer containing information about query column. |
int |
getColumnId()
Get the column number. |
java.lang.Integer |
getColumnLength()
Get the number of characters in column. |
java.lang.String |
getColumnTokenName()
The instance method gets the token name for the column |
int |
getColumnType()
Get the column type. |
java.lang.String |
getDisplayColumnName()
Get the column display name used in printouts and displays. |
java.lang.String |
getRealColumnName()
Get the column real name. |
java.lang.String |
getTableDisplayName()
Get the display name for the table that the column is in |
java.lang.String |
getTableTokenName()
Get the token name for the table that the column is in. |
boolean |
isFilterColumn()
Get whether the column values should be displayed on the filter panel. |
boolean |
isMappedColumn()
Return true if the column value in a query result set will be translated. |
int |
setBufferParms(byte[] buf,
int offset)
Method to write out a buffer information about the query column. |
void |
setColumnId(int column_id)
Set the column number. |
void |
setFilterColumn(boolean filter)
Set whether the column values should be displayed on the filter panel. |
void |
setMappedColumn(boolean mapped)
Set whether column is translated for NLS via resource bundles. |
void |
setTableDisplayName(java.lang.String displayName)
Set the display name for the table for this column |
void |
setTableToken(java.lang.String tableToken)
Set the table token name for the column |
java.lang.String |
toString()
Convert column to String for debug |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TWGDbQueryColumn(java.lang.String realName, java.lang.String displayColName, int colType, int colLength, java.lang.String colTokenName)
public TWGDbQueryColumn(java.lang.String realName, java.lang.String displayColName, int colType, int colLength, java.lang.String colTokenName, boolean filterColumn, boolean mappedColumn, int colIndex, java.lang.String tableTokenName)
public TWGDbQueryColumn(byte[] buf, int offset) throws TWGDbException
buf
- - the byte arrayoffset
- - the offset in the buffer that the query column starts atMethod Detail |
public void setMappedColumn(boolean mapped)
mapped
- - true if the column can is to be translated, otherwise false
/*public boolean isMappedColumn()
public void setFilterColumn(boolean filter)
filter
- - true to make the column a filter columnpublic boolean isFilterColumn()
public void setColumnId(int column_id)
column_id
- - column number.public int getColumnId()
public void setTableToken(java.lang.String tableToken)
tableToken
- - the table token namepublic java.lang.String getTableTokenName()
public java.lang.String getRealColumnName()
public java.lang.String getDisplayColumnName()
public int getColumnType()
public java.lang.Integer getColumnLength()
public java.lang.String getColumnTokenName()
public void setTableDisplayName(java.lang.String displayName)
displayName
- - the display namepublic java.lang.String getTableDisplayName()
public int setBufferParms(byte[] buf, int offset)
public int getBufferLen()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |