|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.dmi.DMIAttribute
This class represents a DMI Attribute.
MIF_Types
,
DMIAttributeValue
,
DMIEnumValues
Field Summary | |
---|---|
static int |
MIF_COMMON
|
static int |
MIF_READ_ONLY
|
static int |
MIF_READ_WRITE
|
static int |
MIF_SPECIFIC
|
static int |
MIF_UNKNOWN_ACCESS
|
static int |
MIF_UNSUPPORTED
|
static int |
MIF_WRITE_ONLY
|
Constructor Summary | |
---|---|
protected |
DMIAttribute()
|
|
DMIAttribute(int AttrID,
java.lang.String Name,
java.lang.String Pragma,
java.lang.String Description,
byte Storage,
byte Access,
byte Type,
int MaxSize,
DMIEnumValues[] Enums)
Construct a new DMI Attribute. |
Method Summary | |
---|---|
byte |
GetAccess()
Accessor for retrieving the Access type defined for this attribute. |
java.lang.String |
GetAccessAsString()
Accessor method for returning the Access type as a keyword defined string. |
static java.lang.String |
GetAccessString(byte Access)
Static Method to convert an Access type identifier to the specification defined keyword it represents. |
byte |
GetDataType()
Accessor method for returning the Data Type defined for this attribute. |
java.lang.String |
GetDataTypeAsString()
This method returns a the type keyword string for this attribute. |
static java.lang.String |
GetDataTypeString(byte Type)
Static Method to convert a Data type identifier to the specification defined keyword it represents. |
java.lang.String |
GetDescription()
Accessor method for retrieving the Attribute Description (optional) |
java.lang.String |
GetEnumString(int Index)
Accessor method to get the String associated with a particular ID in an enumeration list, if an enumeration list is in fact present. |
DMIEnumValues[] |
GetEnumValueList()
Accessor method for retrieving the enumeration list defined for this attribute, if one was in fact defined. |
int |
GetID()
Accessor method for retrieving the Attribute ID |
int |
GetMaxSize()
Accessor method for retrieving the maximum length allowed for this attributes value. |
java.lang.String |
GetName()
Accessor method for retrieving the Attribute Name |
java.lang.String |
GetPragma()
Accessor method for retrieving the Attribute Pragma (optional) |
byte |
GetStorage()
Accessor method for retrieving the Storage type defined for this attribute. |
java.lang.String |
GetStorageAsString()
Accessor method for returning the storage type as a keyword defined string. |
static java.lang.String |
GetStorageString(byte Storage)
Static Method to convert a storage type identifier to the specification defined keyword it represents. |
java.lang.String |
toString()
Debug routine to dump the contents of the attribute as a displayable string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int MIF_COMMON
public static final int MIF_SPECIFIC
public static final int MIF_UNKNOWN_ACCESS
public static final int MIF_READ_ONLY
public static final int MIF_READ_WRITE
public static final int MIF_WRITE_ONLY
public static final int MIF_UNSUPPORTED
Constructor Detail |
protected DMIAttribute()
public DMIAttribute(int AttrID, java.lang.String Name, java.lang.String Pragma, java.lang.String Description, byte Storage, byte Access, byte Type, int MaxSize, DMIEnumValues[] Enums)
MIF_Types
,
DMIAttributeValue
,
DMIEnumValues
Method Detail |
public int GetID()
public java.lang.String GetName()
public java.lang.String GetPragma()
public java.lang.String GetDescription()
public byte GetStorage()
public java.lang.String GetStorageAsString()
public byte GetAccess()
public java.lang.String GetAccessAsString()
public byte GetDataType()
public java.lang.String GetDataTypeAsString()
public int GetMaxSize()
public DMIEnumValues[] GetEnumValueList()
DMIEnumValues
public java.lang.String GetEnumString(int Index)
DMIEnumValues
public java.lang.String toString()
public static java.lang.String GetStorageString(byte Storage)
public static java.lang.String GetAccessString(byte Access)
public static java.lang.String GetDataTypeString(byte Type)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |