|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.monitor.TWGMonAttributeNode
This is the TWGMonAttributeNode class. This class encapsulates a response from a TWGMonCmdFindNodes request for attribute tree information
Field Summary | |
---|---|
static int |
ATTRIBUTE_TYPE
|
static int |
PATH_TYPE
|
static int |
UNKNOWN_TYPE
|
Constructor Summary | |
---|---|
TWGMonAttributeNode(IntelByteBuffer iBuf)
This is the constructor for building the object from a byte stream |
|
TWGMonAttributeNode(java.lang.String passedDisplayNodeName,
java.lang.String passedprogrammaticNodeName,
java.util.Locale passedLocale,
int passedNodeType)
This is the constructor for building the node with no systems |
|
TWGMonAttributeNode(java.lang.String passedDisplayNodeName,
java.lang.String passedprogrammaticNodeName,
java.util.Locale passedLocale,
int passedNodeType,
int passedMonitorType)
This is the constructor for building the node with no systems |
|
TWGMonAttributeNode(java.lang.String passedDisplayNodeName,
java.lang.String passedprogrammaticNodeName,
java.util.Locale passedLocale,
long passedSystem,
int passedNodeType)
This is the constructor for building the node for a single system |
|
TWGMonAttributeNode(java.lang.String passedDisplayNodeName,
java.lang.String passedprogrammaticNodeName,
java.util.Locale passedLocale,
long passedSystem,
int passedNodeType,
int passedMonitorType)
This is the constructor for building the node for a single system |
|
TWGMonAttributeNode(java.lang.String passedDisplayNodeName,
java.lang.String passedprogrammaticNodeName,
java.util.Locale passedLocale,
LongValueSet passedSystems,
int passedNodeType)
This is the constructor for building the node with a set of systems |
|
TWGMonAttributeNode(java.lang.String passedDisplayNodeName,
java.lang.String passedprogrammaticNodeName,
java.util.Locale passedLocale,
LongValueSet passedSystems,
int passedNodeType,
int passedMonitorType)
This is the constructor for building the node with a set of systems |
Method Summary | |
---|---|
void |
addSystem(long systemId)
Provides a mechanism to quickly add other systems to a node |
int |
getAttributeType()
Gets the type of node the node is (Only valid when isLeaf() returns true). |
java.lang.String |
getDisplayName()
Gets the Displayable Node name and return it to the caller |
int |
getIntelByteBufferSize()
Determines and returns the IntelByteBuffer size requirment for the object the method is called on |
java.util.Locale |
getLocale()
Gets the locale information for the node |
int |
getNodeType()
Gets the type of node the node is (Path or Attribute) |
java.lang.String |
getProgrammaticName()
Gets the Program Node name and return it to the caller |
LongValueSet |
getSystems()
Gets the system list and returns it to the caller |
int |
getSystemsCount()
Gets the count of systems that are part of the systems set |
boolean |
isLeaf()
Gets indication if the node is a leaf node or branch point |
void |
mergeWith(TWGMonAttributeNode newSource,
java.util.Locale requestedLocale)
Merge node information together. |
void |
setEnumDataType()
Sets the ENUMERATED_NODEDATA flag for the node |
IntelByteBuffer |
writeIntelByteBuffer(IntelByteBuffer iBuf)
Writes the class variables into the passed in IntelByteBuffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int UNKNOWN_TYPE
public static final int ATTRIBUTE_TYPE
public static final int PATH_TYPE
Constructor Detail |
public TWGMonAttributeNode(java.lang.String passedDisplayNodeName, java.lang.String passedprogrammaticNodeName, java.util.Locale passedLocale, int passedNodeType)
passedDisplayNodeName
- the unicode string that identifies the node for displaypassedprogrammaticNodeName
- the unicode string that identifies the node for programspassedLocale
- the Locale that identifies the locale for the display node namepassedNodeType
- the int that identifies the type of node being createdpublic TWGMonAttributeNode(java.lang.String passedDisplayNodeName, java.lang.String passedprogrammaticNodeName, java.util.Locale passedLocale, long passedSystem, int passedNodeType)
passedDisplayNodeName
- the unicode string that identifies the node for displaypassedprogrammaticNodeName
- the unicode string that identifies the node for programspassedLocale
- the Locale that identifies the locale for the display node namepassedSystem
- the long that identifies the system the information is forpassedNodeType
- the int that identifies the type of node being createdpublic TWGMonAttributeNode(java.lang.String passedDisplayNodeName, java.lang.String passedprogrammaticNodeName, java.util.Locale passedLocale, LongValueSet passedSystems, int passedNodeType)
passedDisplayNodeName
- the unicode string that identifies the node for displaypassedprogrammaticNodeName
- the unicode string that identifies the node for programspassedLocale
- the Locale that identifies the locale for the display node namepassedSystems
- the set of longs that identify the systems the information is forpassedNodeType
- the int that identifies the type of node being createdpublic TWGMonAttributeNode(java.lang.String passedDisplayNodeName, java.lang.String passedprogrammaticNodeName, java.util.Locale passedLocale, int passedNodeType, int passedMonitorType)
passedDisplayNodeName
- the unicode string that identifies the node for displaypassedprogrammaticNodeName
- the unicode string that identifies the node for programspassedLocale
- the Locale that identifies the locale for the display node namepassedNodeType
- the int that identifies the type of node being createdpassedMonitorType
- the int that identifies the type of monitor the node representspublic TWGMonAttributeNode(java.lang.String passedDisplayNodeName, java.lang.String passedprogrammaticNodeName, java.util.Locale passedLocale, long passedSystem, int passedNodeType, int passedMonitorType)
passedDisplayNodeName
- the unicode string that identifies the node for displaypassedprogrammaticNodeName
- the unicode string that identifies the node for programspassedLocale
- the Locale that identifies the locale for the display node namepassedSystem
- the long that identifies the system the information is forpassedNodeType
- the int that identifies the type of node being createdpassedMonitorType
- the int that identifies the type of monitor the node representspublic TWGMonAttributeNode(java.lang.String passedDisplayNodeName, java.lang.String passedprogrammaticNodeName, java.util.Locale passedLocale, LongValueSet passedSystems, int passedNodeType, int passedMonitorType)
passedDisplayNodeName
- the unicode string that identifies the node for displaypassedprogrammaticNodeName
- the unicode string that identifies the node for programspassedLocale
- the Locale that identifies the locale for the display node namepassedSystems
- the set of longs that identify the systems the information is forpassedNodeType
- the int that identifies the type of node being createdpassedMonitorType
- the int that identifies the type of monitor the node representspublic TWGMonAttributeNode(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 serialize the state of the object into
public LongValueSet getSystems()
public int getSystemsCount()
public void addSystem(long systemId)
public void mergeWith(TWGMonAttributeNode newSource, java.util.Locale requestedLocale) throws TWGMonAttributeNodeInvalidException
newSource
- node who's information we will merge with ours.requestedLocale
- the desired local we want information in.
TWGMonAttributeNodeInvalidException
- thrown when nodes with
different programatic names are mergedpublic java.lang.String getDisplayName()
public java.lang.String getProgrammaticName()
public boolean isLeaf()
public int getAttributeType()
public int getNodeType()
public java.util.Locale getLocale()
public void setEnumDataType()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |