|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.monitor.TWGMonEnumStrings
A container class for attribute enumeration resource strings
Constructor Summary | |
---|---|
TWGMonEnumStrings(IntelByteBuffer iBuf)
This is the constructor for building the Enum Strings from an IntelByteBuffer |
|
TWGMonEnumStrings(java.util.Locale eLocale)
This is a constructor for the attribute enumeration container class. |
|
TWGMonEnumStrings(StringSortSet eSet,
java.util.Locale eLocale)
This is a constructor for the attribute enumeration container class. |
Method Summary | |
---|---|
void |
addEnumStr(java.lang.String key,
java.lang.String value)
This function will add a |
java.lang.String |
getEnumStr(double dKey)
This function will return an enumeration string for the specified numeric value. |
java.lang.String |
getEnumStr(java.lang.String key)
This function will return an enumeration string for the specified string value. |
int |
getEnumStrCount()
This function will return the number of enumeration strings in this object. |
StringSortSet |
getEnumStringSet()
This function will return the complete list enumeration strings and their enumeration values. |
int |
getIntelByteBufferSize()
Determines the IntelByteBuffer size requirment for the passed in Threshold version |
boolean |
matchesLocale(java.lang.String localeStr)
This function will return true if the locales match. |
IntelByteBuffer |
writeIntelByteBuffer(IntelByteBuffer iBuf)
Writes the class variables out to the passed in IntelByteBuffer for use in the server for persistant storage. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TWGMonEnumStrings(StringSortSet eSet, java.util.Locale eLocale)
eSet
- set containing the enumeration stringseLocale
- of the enumeration stringspublic TWGMonEnumStrings(java.util.Locale eLocale)
eLocale
- of the enumeration stringspublic TWGMonEnumStrings(IntelByteBuffer iBuf) throws TWGByteStreamException
TWGByteStreamException
- thrown to indicate that the byte buffer
being used build the object contained improper dataMethod Detail |
public int getIntelByteBufferSize()
public IntelByteBuffer writeIntelByteBuffer(IntelByteBuffer iBuf)
iBuf
- byte buffer to save the state of the object into
public void addEnumStr(java.lang.String key, java.lang.String value)
public java.lang.String getEnumStr(java.lang.String key)
public java.lang.String getEnumStr(double dKey)
public StringSortSet getEnumStringSet()
public boolean matchesLocale(java.lang.String localeStr)
public int getEnumStrCount()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |