com.tivoli.twg.inventory
Class TWGVideoTable

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.inventory.TWGVideoTable

public class TWGVideoTable
extends TWGDatabaseTable

SQL database table for Video (Display) information

Primary key - MANAGED_OBJ_ID, VIDEO_INDEX

TWG_VIDEO
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 X X X X
VIDEO_INDEX INT Adapter index X X X X
VIDEO_ADAPTER CHAR(40) Type of adapter in use. X X X X
VIDEO_TYPE CHAR(40) Type of display in use. ENUM1 X X X X
VIDEO_MEMORY_KB INT Amount of memory (kilobytes) X X X X
COLORS INT Number of colors displayed X X X X
HORIZONTAL_RES INT Horizontal resolution of screen(in pixels) X X X X
VERTICAL_RES INT Vertical resolution of screen(in pixels) X X X X
VIDEO_BIOS_REVISION CHAR(64) Revision of the Video Bios X X X X
VIDEO_BIOS_DATE CHAR(64) Date as string of the Video Bios X X X X
VIDEO_CHIP_TYPE CHAR(64) Chip type of the card X X X X
VIDEO_DAC_TYPE CHAR(64) DAC type as reported X X X X

1 Note: Data values like VIDEO_TYPE_*; see static variables below


Field Summary
static java.lang.String COLORS
           
static java.lang.String HORIZONTAL_RES
           
static java.lang.String MANAGED_OBJ_ID
           
static java.lang.String TABLE_NAME
           
static java.lang.String TABLE_VERSION
           
static java.lang.String VERTICAL_RES
           
static java.lang.String VIDEO_ADAPTER
           
static java.lang.String VIDEO_BIOS_DATE
           
static java.lang.String VIDEO_BIOS_VERSION
           
static java.lang.String VIDEO_CHIP_TYPE
           
static java.lang.String VIDEO_DAC_TYPE
           
static java.lang.String VIDEO_INDEX
           
static java.lang.String VIDEO_MEMORY_KB
           
static java.lang.String VIDEO_TYPE
           
static java.lang.String VIDEO_TYPE_8514A
           
static java.lang.String VIDEO_TYPE_CGA
           
static java.lang.String VIDEO_TYPE_EGA
           
static java.lang.String VIDEO_TYPE_HGC
           
static java.lang.String VIDEO_TYPE_LINEARFRAME
           
static java.lang.String VIDEO_TYPE_MCGA
           
static java.lang.String VIDEO_TYPE_MDA
           
static java.lang.String VIDEO_TYPE_OTHER
           
static java.lang.String VIDEO_TYPE_PC98
           
static java.lang.String VIDEO_TYPE_SVGA
           
static java.lang.String VIDEO_TYPE_UNKNOWN
           
static java.lang.String VIDEO_TYPE_VGA
           
static java.lang.String VIDEO_TYPE_XGA
           
 
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
TWGVideoTable()
           
 
Method Summary
 void create()
          Abstract method must be overriden by subclass to define the table.
 java.lang.String getTableVersion()
          Abstract method must be overriden by subclass to get the version for 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

VIDEO_INDEX

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

VIDEO_ADAPTER

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

VIDEO_TYPE

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

VIDEO_MEMORY_KB

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

COLORS

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

HORIZONTAL_RES

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

VERTICAL_RES

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

VIDEO_BIOS_VERSION

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

VIDEO_BIOS_DATE

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

VIDEO_CHIP_TYPE

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

VIDEO_DAC_TYPE

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

VIDEO_TYPE_OTHER

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

VIDEO_TYPE_UNKNOWN

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

VIDEO_TYPE_CGA

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

VIDEO_TYPE_EGA

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

VIDEO_TYPE_VGA

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

VIDEO_TYPE_SVGA

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

VIDEO_TYPE_MDA

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

VIDEO_TYPE_HGC

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

VIDEO_TYPE_MCGA

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

VIDEO_TYPE_8514A

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

VIDEO_TYPE_XGA

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

VIDEO_TYPE_LINEARFRAME

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

VIDEO_TYPE_PC98

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

TABLE_VERSION

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

TWGVideoTable

public TWGVideoTable()
Method Detail

create

public void create()
            throws TWGDbException
Description copied from class: TWGDatabaseTable
Abstract method must be overriden by subclass to define the table.

Specified by:
create in class TWGDatabaseTable
Throws:
TWGDbException

getTableVersion

public java.lang.String getTableVersion()
Description copied from class: TWGDatabaseTable
Abstract method must be overriden by subclass to get the version for table

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