public class ElementType extends MibType
| Constructor and Description | 
|---|
| ElementType(java.lang.String name,
           MibType type)Creates a new element type. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getName()Returns the optional element name. | 
| MibType | getType()Returns the referenced MIB type. | 
| 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, createReference, getComment, getReferenceSymbol, getTag, hasReferenceTo, hasReferenceTo, hasTag, hasTag, isPrimitive, setReferenceSymbol, setTagpublic ElementType(java.lang.String name,
           MibType type)
name - the optional element nametype - the element typepublic 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 boolean isCompatible(MibValue value)
isCompatible in class MibTypevalue - the value to checkpublic java.lang.String getName()
public MibType getType()