public class SnmpModuleCompliance extends SnmpType
Constructor and Description |
---|
SnmpModuleCompliance(SnmpStatus status,
java.lang.String description,
java.lang.String reference,
java.util.ArrayList<SnmpModule> modules)
Creates a new SNMP module compliance type.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<SnmpModule> |
getModules()
Returns the list of SNMP modules.
|
java.lang.String |
getReference()
Returns the type reference.
|
SnmpStatus |
getStatus()
Returns the type 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, removeIndent
createReference, createReference, createReference, getComment, getName, getReferenceSymbol, getTag, hasReferenceTo, hasReferenceTo, hasTag, hasTag, isPrimitive, setReferenceSymbol, setTag
public SnmpModuleCompliance(SnmpStatus status, java.lang.String description, java.lang.String reference, java.util.ArrayList<SnmpModule> modules)
status
- the type statusdescription
- the type descriptionreference
- the type reference, or nullmodules
- the list of SNMP modulespublic 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 MibType
symbol
- 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 MibType
value
- the value to checkpublic SnmpStatus getStatus()
public java.lang.String getReference()
public java.util.ArrayList<SnmpModule> getModules()
SnmpModule