public class SequenceOfType extends MibType
| Constructor and Description |
|---|
SequenceOfType(MibType base)
Creates a new sequence of a MIB type.
|
SequenceOfType(MibType base,
Constraint constraint)
Creates a new sequence of a MIB type.
|
| Modifier and Type | Method and Description |
|---|---|
MibType |
createReference()
Creates a type reference to this type.
|
MibType |
createReference(Constraint constraint)
Creates a constrained type reference to this type.
|
Constraint |
getConstraint()
Returns the optional type constraint.
|
MibType |
getElementType()
Returns the sequence element type.
|
boolean |
hasConstraint()
Checks if this type has any constraint.
|
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, getComment, getName, getReferenceSymbol, getTag, hasReferenceTo, hasReferenceTo, hasTag, hasTag, isPrimitive, setReferenceSymbol, setTagpublic SequenceOfType(MibType base)
base - the sequence element typepublic SequenceOfType(MibType base, Constraint constraint)
base - the sequence element typeconstraint - the sequence constraintpublic 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 MibType createReference(Constraint constraint)
NOTE: This is an internal method that should only be called by the MIB loader.
createReference in class MibTypeconstraint - the type constraintpublic boolean hasConstraint()
public boolean isCompatible(MibValue value)
isCompatible in class MibTypevalue - the value to checkpublic Constraint getConstraint()
public MibType getElementType()