|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.percederberg.mibble.snmp.SnmpIndex
public class SnmpIndex
An SNMP index object. This declaration is used inside an object type index declaration. An index contains either a type or a value. Indices based on values may be implied.
SnmpObjectType
Constructor Summary | |
---|---|
SnmpIndex(boolean implied,
MibValue value,
MibType type)
Creates a new SNMP index. |
Method Summary | |
---|---|
MibType |
getType()
Returns the index type if present. |
java.lang.Object |
getTypeOrValue()
Returns the index type or value. |
MibValue |
getValue()
Returns the index value if present. |
boolean |
isImplied()
Checks if this index is an implied value. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SnmpIndex(boolean implied, MibValue value, MibType type)
implied
- the implied flagvalue
- the index value, or nulltype
- the index type, or nullMethod Detail |
---|
public boolean isImplied()
public MibValue getValue()
getType()
public MibType getType()
getValue()
public java.lang.Object getTypeOrValue()
MibValue
,
MibType
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |