|
HOME | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ireasoning.util.CTreeNode
com.ireasoning.util.OrderedTreeNode
com.ireasoning.protocol.snmp.BasicOIDTreeNode
com.ireasoning.protocol.snmp.OIDTreeNode
Tree representing MIB structure. Each node's name is SnmpOID object (getName()
method returns SnmpOID object).
| Field Summary |
| Fields inherited from class com.ireasoning.protocol.snmp.BasicOIDTreeNode |
ACCESS_READ_CREATE, ACCESS_READ_ONLY, ACCESS_READ_WRITE, ACCESSIBLE_FOR_NOTIFY, NOT_ACCESSIBLE |
| Constructor Summary | |
OIDTreeNode(SnmpOID name)
Constructor. |
|
OIDTreeNode(SnmpOID name,
CTreeNode root)
Constructor. |
|
OIDTreeNode(String name)
Constructor. |
|
OIDTreeNode(String name,
CTreeNode root)
Constructor. |
|
| Method Summary | |
CTreeNode |
addChild(CTreeNode newChild)
Adds passed child node to the appropriate position, child nodes are ordered. |
static OIDTreeNode |
copyMibTreeNode(MibTreeNode mibNode)
Deep copy of MibTreeNode instance. |
int |
getAccess()
Returns the access code. |
String[] |
getIndice()
It only applys to table entry node. |
String |
getMibNodeName()
Returns the MIB node name |
Comparable |
getName()
Returns an SnmpOID object which is the name of this node |
String |
getObjectName()
Returns the MBean object name |
byte |
getRealSyntaxType()
Returns the syntax type |
SnmpOID |
getRowStatusOID()
Returns the RowStatus column's SnmpOID. |
SnmpTable |
getSnmpTable()
Returns the SnmpTable object associated with a MIB table |
boolean |
isEntryStatus()
Returns true is this table contains RMON EntryStatus row |
boolean |
isGroupNode()
Returns true if this node is a group node |
boolean |
isIndexNode()
Returns true if this node is an index node. |
boolean |
isPartialName()
|
boolean |
isRegistered()
Tests if the MIB table or group is registered or not |
boolean |
isScalarNode()
Returns true if this node is a scalar node |
boolean |
isTableColumnNode()
Checks if it's a column node in a table, such as IfIndex in IfTable. |
boolean |
isTableLeafNode()
Tests if it's a leaf node of a table. |
boolean |
isTableNode()
Returns true if this node is a table node, such as IfTable in MIB-II |
boolean |
isTreeChanged()
|
protected CTreeNode |
newInstance(Comparable name,
CTreeNode root)
Creates a new intance of OIDTreeNode |
boolean |
removeChild(CTreeNode oldChild)
Removes the immediate child node indicated by oldChild from the list of children |
void |
setAccess(int access)
Sets the access code. |
void |
setAccess(String access)
Sets the access code |
void |
setEntryStatus(boolean isEntryStatus)
Sets if this table contains RMON EntryStatus row or not |
void |
setGroupNode(boolean b)
Sets this node to be a group node or not |
boolean |
setIndexNode(boolean b)
Sets this node to be an index node or not |
void |
setIndice(String[] indice)
|
void |
setMibNodeName(String name)
Sets the MIB node name. |
void |
setObjectName(String val)
Sets the MBean object name |
void |
setPartialName(boolean b)
|
void |
setRealSyntaxType(byte type)
Sets the syntax type |
void |
setRegistered(boolean isRegistered)
Sets the MIB table or group to be registered or not |
void |
setRowStatusOID(SnmpOID rowStatusOID)
Sets the RowStatus column's SnmpOID. |
void |
setScalarNode(boolean b)
Sets this node to be a scalar node or not |
void |
setSnmpTable(SnmpTable table)
Sets the SnmpTable object associated with a MIB table |
void |
setTableColumnNode(boolean b)
Sets this node to be a columnar node or not |
void |
setTableNode(boolean b)
Sets this node to be a table node or not |
void |
setTreeChanged(boolean b)
|
| Methods inherited from class com.ireasoning.protocol.snmp.BasicOIDTreeNode |
getTableEntryObject, isReady, isReadyExpired, setReady, setReady, setTableEntryObject |
| Methods inherited from class com.ireasoning.util.OrderedTreeNode |
addChild, appendChild, compareTo, getNext, search |
| Methods inherited from class com.ireasoning.util.CTreeNode |
appendChild, appendChild, compareTo, compareTo, compareTo, copy, equals, getChildNode, getChildNodeCount, getChildNodeIndex, getChildNodes, getFirstChild, getLastChild, getLeftMost, getNextSibling, getParent, getPrevSibling, getRawName, getRightMost, getRoot, hashCode, insertBefore, isChildNode, isInSameTree, isLeaf, isRoot, removeChild, removeChild, removeNode, replaceChild, setName, setParent, setRoot, toJTreeNode, toString, traverse |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public OIDTreeNode(SnmpOID name)
name - node name
public OIDTreeNode(SnmpOID name,
CTreeNode root)
name - node nameroot - root nodepublic OIDTreeNode(String name)
name - node name
public OIDTreeNode(String name,
CTreeNode root)
name - node nameroot - root node| Method Detail |
public Comparable getName()
getName in class BasicOIDTreeNodepublic void setMibNodeName(String name)
public String getMibNodeName()
getMibNodeName in class BasicOIDTreeNodepublic void setObjectName(String val)
public String getObjectName()
getObjectName in class BasicOIDTreeNodepublic static OIDTreeNode copyMibTreeNode(MibTreeNode mibNode)
public boolean isScalarNode()
isScalarNode in class BasicOIDTreeNodepublic void setScalarNode(boolean b)
public boolean isTableNode()
isTableNode in class BasicOIDTreeNodepublic void setTableNode(boolean b)
public boolean isGroupNode()
isGroupNode in class BasicOIDTreeNodepublic void setGroupNode(boolean b)
public String[] getIndice()
public void setIndice(String[] indice)
public boolean isIndexNode()
public boolean setIndexNode(boolean b)
public boolean isTableColumnNode()
public void setTableColumnNode(boolean b)
public boolean isTableLeafNode()
isTableLeafNode in class BasicOIDTreeNodepublic byte getRealSyntaxType()
public void setRealSyntaxType(byte type)
protected CTreeNode newInstance(Comparable name,
CTreeNode root)
newInstance in class BasicOIDTreeNodepublic SnmpTable getSnmpTable()
getSnmpTable in class BasicOIDTreeNodepublic void setSnmpTable(SnmpTable table)
public int getAccess()
getAccess in class BasicOIDTreeNodepublic void setAccess(int access)
public void setAccess(String access)
access - access string, such as "read-write"public SnmpOID getRowStatusOID()
public void setRowStatusOID(SnmpOID rowStatusOID)
public boolean isEntryStatus()
public void setEntryStatus(boolean isEntryStatus)
public boolean isRegistered()
isRegistered in class BasicOIDTreeNodepublic void setRegistered(boolean isRegistered)
setRegistered in class BasicOIDTreeNodepublic CTreeNode addChild(CTreeNode newChild)
public boolean removeChild(CTreeNode oldChild)
removeChild in class CTreeNodeCTreeNode.removeNode(CTreeNode node)public void setPartialName(boolean b)
setPartialName in class BasicOIDTreeNodepublic boolean isPartialName()
isPartialName in class BasicOIDTreeNodepublic boolean isTreeChanged()
public void setTreeChanged(boolean b)
|
HOME | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||