com.oy.shared.lw.snmp.tree
Class OIDTreeNode

java.lang.Object
  extended bycom.oy.shared.lw.snmp.tree.OIDTreeLeaf
      extended bycom.oy.shared.lw.snmp.tree.OIDTreeNode
All Implemented Interfaces:
java.lang.Comparable
Direct Known Subclasses:
OIDTree, OIDTreeStub

public class OIDTreeNode
extends OIDTreeLeaf


Field Summary
(package private)  java.util.List list
           
 
Fields inherited from class com.oy.shared.lw.snmp.tree.OIDTreeLeaf
name, oid
 
Constructor Summary
OIDTreeNode(java.lang.String name, java.lang.String oid)
           
 
Method Summary
 void add(OIDTreeLeaf node)
           
 boolean contains(OIDTreeLeaf node)
           
 boolean equals(java.lang.Object oth)
           
(package private)  int getAllChildCount()
           
 OIDTreeLeaf getChildByOID(java.lang.String oid)
           
 int getChildCount()
           
 int hashCode()
           
 java.util.Iterator iterator()
           
 void remove(OIDTreeLeaf oidNode)
           
 java.lang.String toString()
           
 
Methods inherited from class com.oy.shared.lw.snmp.tree.OIDTreeLeaf
compareTo, execute, getName, getOid, getValueSource, isOIDValid, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

list

java.util.List list
Constructor Detail

OIDTreeNode

public OIDTreeNode(java.lang.String name,
                   java.lang.String oid)
Method Detail

iterator

public java.util.Iterator iterator()
Overrides:
iterator in class OIDTreeLeaf

add

public void add(OIDTreeLeaf node)

remove

public void remove(OIDTreeLeaf oidNode)

contains

public boolean contains(OIDTreeLeaf node)
Overrides:
contains in class OIDTreeLeaf

getChildCount

public int getChildCount()

equals

public boolean equals(java.lang.Object oth)
Overrides:
equals in class OIDTreeLeaf

hashCode

public int hashCode()
Overrides:
hashCode in class OIDTreeLeaf

getChildByOID

public OIDTreeLeaf getChildByOID(java.lang.String oid)
Overrides:
getChildByOID in class OIDTreeLeaf

getAllChildCount

int getAllChildCount()
Overrides:
getAllChildCount in class OIDTreeLeaf

toString

public java.lang.String toString()
Overrides:
toString in class OIDTreeLeaf


Copyright (C) 2005-2006 Pavel Simakov
http://www.softwaresecretweapons.com