|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--net.percederberg.mib.symbol.Symbol
|
+--net.percederberg.mib.symbol.ValueSymbol
A class containing a value symbol from the MIB file. Each value symbol should be given a type and optionally a parent and an object identifier.
| Field Summary |
| Fields inherited from class net.percederberg.mib.symbol.Symbol |
children, id, name, parent, type |
| Constructor Summary | |
ValueSymbol(java.lang.String name)
Creates a new value symbol. |
|
ValueSymbol(java.lang.String name,
Type type,
int id)
Creates a new value symbol with the given parameters. |
|
ValueSymbol(java.lang.String name,
Type type,
Symbol parent,
int id)
Creates a new value symbol with the given parameters. |
|
| Method Summary | |
boolean |
isField()
Checks if this symbol represents a data field in the model. |
boolean |
isTopField()
Checks if this symbol represents a top data field in the hierarchy. |
| Methods inherited from class net.percederberg.mib.symbol.Symbol |
addChild, childAt, children, equals, findChild, getName, getOID, getParent, getType, removeChild, setOID, setParent, setType, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ValueSymbol(java.lang.String name)
name - the symbol name
public ValueSymbol(java.lang.String name,
Type type,
int id)
name - the symbol nametype - the symbol typeid - the object identifier number
public ValueSymbol(java.lang.String name,
Type type,
Symbol parent,
int id)
name - the symbol nametype - the symbol typeparent - the parent symbolid - the object identifier number| Method Detail |
public boolean isField()
isField in class Symbolpublic boolean isTopField()
isTopField in class Symbol
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||