com.tivoli.twg.mscs
Class MSCSResourceTable

java.lang.Object
  extended bycom.tivoli.twg.engine.TWGObject
      extended bycom.tivoli.twg.engine.TWGPersistentObject
          extended bycom.tivoli.twg.engine.TWGDatabaseTable
              extended bycom.tivoli.twg.mscs.MSCSResourceTable

public class MSCSResourceTable
extends TWGDatabaseTable

SQL database table for MSCS Resource Table information

Primary key - MANAGED_OBJ_ID, MSCS_RES_TYPE, MSCS_RES_NAME

MSCS_RESOURCES
Field Name Data Type Description NT/2000 95/98 OS/2 Netware AS/400 SNMP AIX HPUX Solaris Unixware Linux
MANAGED_OBJ_ID INT Managed object id (of cluster) X
MSCS_RES_TYPE CHAR(64) Resource Type of resource X
MSCS_RES_NAME CHAR(64) Resource Name X
MSCS_RES_DEP_NET CHAR(64) Resource Dependent Network X
MSCS_RES_CUR_OWN CHAR(64) Resource Current Owner Group X
MSCS_RES_NODE CHAR(64) Resource Current Owner Node X


Field Summary
static java.lang.String MANAGED_OBJ_ID
           
static java.lang.String MSCS_RES_CUR_OWN
           
static java.lang.String MSCS_RES_DEP_NET
           
static java.lang.String MSCS_RES_NAME
           
static java.lang.String MSCS_RES_NODE
           
static java.lang.String MSCS_RES_TYPE
           
static java.lang.String TABLE_NAME
           
static java.lang.String TABLE_VERSION
           
 
Fields inherited from class com.tivoli.twg.engine.TWGDatabaseTable
CLASSNAME, DbKeyWords, DEFAULT_TABLE_BUNDLE_NAME, validChars
 
Fields inherited from class com.tivoli.twg.engine.TWGPersistentObject
CLASS_NAME, SIZEOF_BYTE, SIZEOF_CHAR, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_SHORT
 
Constructor Summary
MSCSResourceTable()
          Default constructor for cluster member table
 
Method Summary
 void create()
          Table create method
 java.lang.String getTableVersion()
          Get the version number for the table
 
Methods inherited from class com.tivoli.twg.engine.TWGDatabaseTable
deleteManagedObject, deleteTable, findTableByClassName, flatten, getAllFullColumnNames, getAllTrue, getAllTrueForSame, getAnyTrue, getBundleName, getBundleString, getColumn, getColumnByColumnRealName, getColumnLength, getColumnLength, getColumnLengths, getColumns, getColumnType, getColumnType, getColumnTypes, getDatabase, getDefaultValue, getDefaultValue, getDefaultValues, getDisplayColumnName, getDisplayFullColumnNames, getDisplayName, getDisplayValues, getEachTrueForAtLeastOne, getFilterColumns, getFilterPrompt, getFilterSQL, getGraphicName, getKey, getMatchingMoids, getMultiLocaleBundle, getMyClassName, getNumberOfColumns, getRealColumnName, getRealColumnName, getRealColumnNames, getRealName, getShortClassName, getTable, getTableBy, getTableByRealTableName, getTableInfo, getTableMultiLocaleBundle, getTableName, getTables, getTokenColumnNames, getTokenName, insertOrDeleteRow, insertRow, isFilterColumn, isMappedColumn, restoreData, saveData, setShortTableName, toString, TWGInitTable, userTableFixClassName
 
Methods inherited from class com.tivoli.twg.engine.TWGPersistentObject
Destroy, enableAsyncWrites, fromPersistID, initialize, isNewPersistentStore, isSaveRequired, PersistID, restore, restoreAll, save, save, setSaveRequired, terminate, toPersistID
 
Methods inherited from class com.tivoli.twg.engine.TWGObject
AllObjects, AllObjects, Delete, DumpTWGObjects, FindObject, isDeleted, isNewObject, isPersistent, isPersistent, isValid, isValid, ObjectID, setDistinctObjectID, SetObjectID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TABLE_NAME

public static final java.lang.String TABLE_NAME
See Also:
Constant Field Values

MANAGED_OBJ_ID

public static final java.lang.String MANAGED_OBJ_ID
See Also:
Constant Field Values

MSCS_RES_TYPE

public static final java.lang.String MSCS_RES_TYPE
See Also:
Constant Field Values

MSCS_RES_NAME

public static final java.lang.String MSCS_RES_NAME
See Also:
Constant Field Values

MSCS_RES_DEP_NET

public static final java.lang.String MSCS_RES_DEP_NET
See Also:
Constant Field Values

MSCS_RES_CUR_OWN

public static final java.lang.String MSCS_RES_CUR_OWN
See Also:
Constant Field Values

MSCS_RES_NODE

public static final java.lang.String MSCS_RES_NODE
See Also:
Constant Field Values

TABLE_VERSION

public static final java.lang.String TABLE_VERSION
See Also:
Constant Field Values
Constructor Detail

MSCSResourceTable

public MSCSResourceTable()
Default constructor for cluster member table

Method Detail

create

public void create()
            throws TWGDbException
Table create method

Specified by:
create in class TWGDatabaseTable
Throws:
TWGDbException - if error creating table

getTableVersion

public java.lang.String getTableVersion()
Get the version number for the table

Specified by:
getTableVersion in class TWGDatabaseTable
Returns:
the version id for this table