|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.percederberg.mibble.snmp.SnmpVariation
An SNMP module variation declaration. This declaration is used inside a module support declaration.
Constructor Summary | |
SnmpVariation(MibValue value,
MibType syntax,
MibType writeSyntax,
SnmpAccess access,
java.util.ArrayList requiredCells,
MibValue defaultValue,
java.lang.String description)
Creates a new SNMP module variation. |
Method Summary | |
SnmpAccess |
getAccess()
Returns the access mode. |
MibValue |
getDefaultValue()
Returns the default value. |
java.lang.String |
getDescription()
Returns the variation description. |
java.util.ArrayList |
getRequiredCells()
Returns cell values required for creation. |
MibType |
getSyntax()
Returns the value syntax. |
MibValue |
getValue()
Returns the value. |
MibType |
getWriteSyntax()
Returns the value write syntax. |
void |
initialize(MibLoaderLog log)
Initializes the object. |
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 SnmpVariation(MibValue value, MibType syntax, MibType writeSyntax, SnmpAccess access, java.util.ArrayList requiredCells, MibValue defaultValue, java.lang.String description)
value
- the variation valuesyntax
- the value syntax, or nullwriteSyntax
- the value write syntax, or nullaccess
- the access mode, or nullrequiredCells
- the cell values required for creationdefaultValue
- the default value, or nulldescription
- the variation descriptionMethod Detail |
public void initialize(MibLoaderLog log) throws MibException
log
- the MIB loader log
MibException
- if an error was encountered during the
initializationpublic MibValue getValue()
public MibType getSyntax()
public MibType getWriteSyntax()
public SnmpAccess getAccess()
public java.util.ArrayList getRequiredCells()
MibValue
public MibValue getDefaultValue()
public java.lang.String getDescription()
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 |