public class SnmpObjectIdentity extends SnmpType
| Constructor and Description |
|---|
SnmpObjectIdentity(SnmpStatus status,
java.lang.String description,
java.lang.String reference)
Creates a new SNMP object identity.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getReference()
Returns the object identity reference.
|
SnmpStatus |
getStatus()
Returns the object identity status.
|
MibType |
initialize(MibSymbol symbol,
MibLoaderLog log)
Initializes the MIB type.
|
boolean |
isCompatible(MibValue value)
Checks if the specified value is compatible with this type.
|
java.lang.String |
toString()
Returns a string representation of this object.
|
getDescription, getDescription, getUnformattedDescription, removeIndentcreateReference, createReference, createReference, getComment, getName, getReferenceSymbol, getTag, hasReferenceTo, hasReferenceTo, hasTag, hasTag, isPrimitive, setReferenceSymbol, setTagpublic SnmpObjectIdentity(SnmpStatus status, java.lang.String description, java.lang.String reference)
status - the object identity statusdescription - the object identity descriptionreference - the object identity reference, or nullpublic MibType initialize(MibSymbol symbol, MibLoaderLog log) throws MibException
NOTE: This is an internal method that should only be called by the MIB loader.
initialize in class MibTypesymbol - the MIB symbol containing this typelog - the MIB loader logMibException - if an error was encountered during the
initializationpublic boolean isCompatible(MibValue value)
isCompatible in class MibTypevalue - the value to checkpublic SnmpStatus getStatus()
public java.lang.String getReference()