com.tivoli.twg.engine
Class TWGDbTableReply

java.lang.Object
  extended bycom.tivoli.twg.engine.TWGDbTableReply
All Implemented Interfaces:
java.io.Serializable

public class TWGDbTableReply
extends java.lang.Object
implements java.io.Serializable

The TWGDbTableReply class is sent through the IPC in response to a get tables command. One TWGDbTableReply object is returned for each table.

See Also:
Serialized Form

Constructor Summary
TWGDbTableReply(byte[] buf)
          This method is public as an implementation side effect.
TWGDbTableReply(java.lang.String[] columnTokens, java.lang.String[] columnDisplayNames, java.lang.String tableTokenName, java.lang.String tableRealName, java.lang.String tableDisplayName, java.lang.String tableGraphic)
          This constructor should be used in only the Director engine
 
Method Summary
protected  int getBufLen()
          Get length of buffer containing the all the information about the object.
 java.lang.String[] getColumnDisplayNames()
          Get the display names of all the columns in the table.
 java.lang.String[] getColumnTokenNames()
          Get the token names of all the columns in the table.
 java.lang.String getTableDisplayName()
          Get the displayable name for the table
 java.lang.String getTableGraphic()
          Get the icon for the table
 java.lang.String getTableRealName()
          Get real table name
 java.lang.String getTableTokenName()
          Get table token name
protected  void setBufferParms(Command cmd)
          The constructor is to be used only in the Director engine.
 java.lang.String toString()
          Convert object to string for debug
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TWGDbTableReply

public TWGDbTableReply(java.lang.String[] columnTokens,
                       java.lang.String[] columnDisplayNames,
                       java.lang.String tableTokenName,
                       java.lang.String tableRealName,
                       java.lang.String tableDisplayName,
                       java.lang.String tableGraphic)
This constructor should be used in only the Director engine

Constructor for the reply.

Parameters:
columnTokens - - array to store a list of token names of the columns specified in the table.
columnDisplayNames - - array to store a list of column display names in a table.
tableTokenName - - the table token name
tableRealName - - the table real name
tableDisplayName - - the table display name
tableGraphic - - the name of icon graphic to be displayed on the inventory console for the table.

TWGDbTableReply

public TWGDbTableReply(byte[] buf)
                throws TWGDbException
This method is public as an implementation side effect. Do not call or change. Its interface may be changed in a later release.

Constructor for the reply using an intel byte buffer format of the command as input.

Parameters:
buf - - the intel byte buffer byte array
Method Detail

getTableTokenName

public java.lang.String getTableTokenName()
Get table token name

Returns:
String

getTableRealName

public java.lang.String getTableRealName()
Get real table name

Returns:
String

getTableDisplayName

public java.lang.String getTableDisplayName()
Get the displayable name for the table

Returns:
String

getTableGraphic

public java.lang.String getTableGraphic()
Get the icon for the table

Returns:
String

getColumnTokenNames

public java.lang.String[] getColumnTokenNames()
Get the token names of all the columns in the table.

Returns:
String array

getColumnDisplayNames

public java.lang.String[] getColumnDisplayNames()
Get the display names of all the columns in the table.

Returns:
String array

setBufferParms

protected void setBufferParms(Command cmd)
The constructor is to be used only in the Director engine.

Build IntelByteBuffer parms version of this command and add them to the IPC command This is only to be used in Director engine.

Parameters:
cmd - - the IPC command whose input parameters will be set by this method.

getBufLen

protected int getBufLen()
Get length of buffer containing the all the information about the object.

Returns:
int

toString

public java.lang.String toString()
Convert object to string for debug

Returns:
a textual representation of the object