|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.percederberg.mibble.snmp.SnmpObjectType
An SNMP object type.
Constructor Summary | |
SnmpObjectType(MibType syntax,
java.lang.String units,
SnmpAccess access,
SnmpStatus status,
java.lang.String description,
java.lang.String reference,
java.util.ArrayList index,
MibValue defaultValue)
Creates a new SNMP object type. |
|
SnmpObjectType(MibType syntax,
java.lang.String units,
SnmpAccess access,
SnmpStatus status,
java.lang.String description,
java.lang.String reference,
MibValue augments,
MibValue defaultValue)
Creates a new SNMP object type. |
Method Summary | |
SnmpAccess |
getAccess()
Returns the access mode. |
MibValue |
getAugments()
Returns the augmented index value. |
MibValue |
getDefaultValue()
Returns the default value. |
java.lang.String |
getDescription()
Returns the type description. |
java.util.ArrayList |
getIndex()
Returns the list of index values or types. |
java.lang.String |
getReference()
Returns the type reference. |
SnmpStatus |
getStatus()
Returns the type status. |
MibType |
getSyntax()
Returns the type syntax. |
java.lang.String |
getUnits()
Returns the units description. |
MibType |
initialize(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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SnmpObjectType(MibType syntax, java.lang.String units, SnmpAccess access, SnmpStatus status, java.lang.String description, java.lang.String reference, java.util.ArrayList index, MibValue defaultValue)
syntax
- the object type syntaxunits
- the units description, or nullaccess
- the access modestatus
- the type statusdescription
- the type description, or nullreference
- the type reference, or nullindex
- the list of index values or typesdefaultValue
- the default value, or nullpublic SnmpObjectType(MibType syntax, java.lang.String units, SnmpAccess access, SnmpStatus status, java.lang.String description, java.lang.String reference, MibValue augments, MibValue defaultValue)
syntax
- the object type syntaxunits
- the units description, or nullaccess
- the access modestatus
- the type statusdescription
- the type description, or nullreference
- the type reference, or nullaugments
- the index augments valuedefaultValue
- the default value, or nullMethod Detail |
public MibType initialize(MibLoaderLog log) throws MibException
initialize
in interface MibType
log
- the MIB loader log
MibException
- if an error was encountered during the
initializationpublic boolean isCompatible(MibValue value)
isCompatible
in interface MibType
value
- the value to check
public MibType getSyntax()
public java.lang.String getUnits()
public SnmpAccess getAccess()
public SnmpStatus getStatus()
public java.lang.String getDescription()
public java.lang.String getReference()
public java.util.ArrayList getIndex()
MibValue
,
MibType
public MibValue getAugments()
public MibValue getDefaultValue()
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 |