public class SequenceType extends MibType
| Constructor and Description |
|---|
SequenceType(java.util.ArrayList elements)
Creates a new sequence MIB type.
|
| Modifier and Type | Method and Description |
|---|---|
MibType |
createReference()
Creates a type reference to this type.
|
ElementType[] |
getAllElements()
Returns all the element types.
|
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.
|
createReference, createReference, getComment, getName, getReferenceSymbol, getTag, hasReferenceTo, hasReferenceTo, hasTag, hasTag, isPrimitive, setReferenceSymbol, setTagpublic SequenceType(java.util.ArrayList elements)
elements - the list of element typespublic 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 MibType createReference()
NOTE: This is an internal method that should only be called by the MIB loader.
createReference in class MibTypepublic boolean isCompatible(MibValue value)
isCompatible in class MibTypevalue - the value to checkpublic ElementType[] getAllElements()