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(org.jsmiparser.util.token.IdToken idToken,
SmiModule module,
SmiType type,
org.jsmiparser.util.token.QuotedStringToken unitsToken,
SmiDefaultValue defaultValue)
getCodeConstantId
public java.lang.String getCodeConstantId()
getFullCodeConstantId
public java.lang.String getFullCodeConstantId()
getCodeOid
public java.lang.String getCodeOid()
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 org.jsmiparser.util.token.QuotedStringToken getUnitsToken()
getTextualConvention
public SmiTextualConvention getTextualConvention()
getPrimitiveType
public SmiPrimitiveType getPrimitiveType()
getEnumType
public SmiType getEnumType()
getEnumValues
public java.util.List<SmiNamedNumber> getEnumValues()
getBitFieldType
public SmiType getBitFieldType()
getBitFields
public java.util.List<SmiNamedNumber> getBitFields()
getRangeConstraintType
public SmiType getRangeConstraintType()
getRangeConstraints
public java.util.List<SmiRange> getRangeConstraints()
getSizeConstraintType
public SmiType getSizeConstraintType()
getSizeConstraints
public SmiType getSizeConstraints()
getDefaultValue
public SmiDefaultValue getDefaultValue()
resolveBitField
public SmiNamedNumber resolveBitField(org.jsmiparser.util.token.IdToken idToken,
XRefProblemReporter reporter)
resolveEnumConstant
public SmiNamedNumber resolveEnumConstant(org.jsmiparser.util.token.IdToken idToken,
XRefProblemReporter reporter)