|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.monlet.MonletAttributeNode
This class is a contains properties of a monlet node (an attribute data node or a path node).
Field Summary | |
---|---|
static int |
ATTRIBUTE_TYPE
|
protected static int |
BUFFER_FIXED_LEN
|
static byte |
COUNTER_NODEDATA
|
static int |
CURRENT_BUF_VERSION
|
protected java.lang.String |
displayNodeName
The variable contains a string that specifies the name of the node. |
static byte |
DOUBLE_NODEDATA
|
static int |
INVALID_HANDLE
|
static byte |
INVALID_NODEDATA
|
protected java.util.Locale |
myLocale
default the local to the US English locale |
protected int |
myMonitorType
The variable contains an int that specify the monitor type Note: the node type must be ATTRIBUTE_TYPE for this variable to have meaning |
protected int |
myNodeType
The variable contains an int that specify the type of node |
static int |
PATH_TYPE
|
protected java.lang.String |
programmaticNodeName
The variable contains a string that specifies the programatic name of the node. |
static byte |
STRING_NODEDATA
|
static int |
UNKNOWN_TYPE
|
Constructor Summary | |
---|---|
MonletAttributeNode(java.lang.String passedDisplayNodeName,
java.lang.String passedProgrammaticNodeName,
java.util.Locale passedLocale,
int passedNodeType)
This is the constructor for building the node without monitor type |
|
MonletAttributeNode(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 monitor type |
Method Summary | |
---|---|
int |
getAttributeType()
Gets the type of node the node is |
java.lang.String |
getDisplayName()
Gets the Displayable Node name and return it to the caller |
java.util.Locale |
getLocale()
Gets the locale information for the node |
java.lang.String |
getProgrammaticName()
Gets the Program Node name and return it to the caller |
boolean |
isLeaf()
Gets indication if the node is a leaf node or branch point |
void |
setAttributeType(int type)
Sets the type of data stored in an attribute node |
void |
setNodeType(int type)
Sets the type of node the node is |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int CURRENT_BUF_VERSION
protected static final int BUFFER_FIXED_LEN
public static final int UNKNOWN_TYPE
public static final int ATTRIBUTE_TYPE
public static final int PATH_TYPE
public static final byte INVALID_NODEDATA
public static final byte DOUBLE_NODEDATA
public static final byte STRING_NODEDATA
public static final byte COUNTER_NODEDATA
public static final int INVALID_HANDLE
protected java.lang.String displayNodeName
protected java.lang.String programmaticNodeName
protected int myNodeType
protected int myMonitorType
protected java.util.Locale myLocale
Constructor Detail |
public MonletAttributeNode(java.lang.String passedDisplayNodeName, java.lang.String passedProgrammaticNodeName, java.util.Locale passedLocale, int passedNodeType)
passedDisplayNodeName
- the unicode string that identifies the node for displaypassedLocale
- the Locale that identifies the locale for the display node namepassedNodeType
- the int that identifies the type of node being createdpublic MonletAttributeNode(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 displaypassedLocale
- 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 representsMethod Detail |
public java.lang.String getDisplayName()
public java.lang.String getProgrammaticName()
public boolean isLeaf()
public int getAttributeType()
public java.util.Locale getLocale()
public void setNodeType(int type)
type
- node typepublic void setAttributeType(int type)
type
- attribute typepublic java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |