org.jsmiparser.smi
Class SmiVariable
java.lang.Object
org.jsmiparser.smi.SmiSymbol
org.jsmiparser.smi.SmiValue
org.jsmiparser.smi.SmiOidValue
org.jsmiparser.smi.SmiOidMacro
org.jsmiparser.smi.SmiObjectType
org.jsmiparser.smi.SmiVariable
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable
public class SmiVariable
- extends SmiObjectType
Besides the OBJECT-TYPE fields that are specific to SNMP variable definitions,
this class also contains some methods that make it easier to deal with the recursive nature
of the SmiType definitions.
- See Also:
- Serialized Form
Methods inherited from class org.jsmiparser.smi.SmiObjectType |
getAccessAll, getAccessToken, getAccessV1, getAccessV2, getDescription, getMaxAccess, getMaxAccessToken, getType, resolveReferences, setAccessToken, setDescription, setMaxAccessToken, setStatus, setType |
Methods inherited from class org.jsmiparser.smi.SmiSymbol |
addUserData, compareTo, compareTo, equals, findUserData, findUserData, getFullCodeId, getId, getIdToken, getLocation, getModule, getUcId, getUserData, hashCode, setIdToken, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SmiVariable
public SmiVariable(IdToken idToken,
SmiModule module,
SmiType type,
QuotedStringToken unitsToken,
SmiDefaultValue defaultValue)
getCodeConstantId
public java.lang.String getCodeConstantId()
getFullCodeConstantId
public java.lang.String getFullCodeConstantId()
getCodeOid
public java.lang.String getCodeOid()
getCodeId
public java.lang.String getCodeId()
- Overrides:
getCodeId
in class SmiSymbol
getRequestMethodId
public java.lang.String getRequestMethodId()
getGetterMethodId
public java.lang.String getGetterMethodId()
getSetterMethodId
public java.lang.String getSetterMethodId()
getRow
public SmiRow getRow()
getTable
public SmiTable getTable()
isColumn
public boolean isColumn()
isScalar
public boolean isScalar()
getUnits
public java.lang.String getUnits()
getUnitsToken
public QuotedStringToken getUnitsToken()
getTextualConvention
public SmiTextualConvention getTextualConvention()
getPrimitiveType
public SmiPrimitiveType getPrimitiveType()
getEnumValues
public java.util.List<SmiNamedNumber> getEnumValues()
getBitFields
public java.util.List<SmiNamedNumber> getBitFields()
getRangeConstraints
public java.util.List<SmiRange> getRangeConstraints()
getSizeConstraints
public java.util.List<SmiRange> getSizeConstraints()
getDefaultValue
public SmiDefaultValue getDefaultValue()
resolveBitField
public SmiNamedNumber resolveBitField(IdToken idToken,
XRefProblemReporter reporter)
resolveEnumConstant
public SmiNamedNumber resolveEnumConstant(IdToken idToken,
XRefProblemReporter reporter)
Copyright © 2005-2007 null. All Rights Reserved.