public interface SmiObjectType extends SmiObject, SmiValueType
SmiObject by
attributes specific to the SMI OBJECT-TYPE construct, i.e. the MAX-ACCESS
clause.| Modifier and Type | Method and Description |
|---|---|
Variable |
createNewVariable()
Creates a new
VariableBinding based on this object type's
default value (see getDefaultVariable()) or if that is null
new variable matching the object type's syntax created with its default constructor. |
List<SmiObjectType> |
getColumns()
Gets the columnar OBJECT-TYPE definitions for this table.
|
String |
getDefaultValue()
Gets the DEFVAL clause content if present.
|
Variable |
getDefaultVariable()
Returns the default value returned by
getDefaultValue() as a Variable
instance or null if there is no default value (i.e., no DEFVAL clause). |
List<SmiObjectTypeIndex> |
getIndexObjects()
Gets the index objects for this table.
|
SmiMaxAccess |
getMaxAccess()
Gets the maximum access allowed for this MIB OBJECT-TYPE.
|
int |
getMaxValueLength()
Gets the maximum length (in characters) of a formatted value using the current variable format.
|
int |
getMinValueLength()
Gets the minimum length (in characters) of a formatted value using the current variable format.
|
String |
getUnits()
Gets the content of the UNITS clause (if present).
|
getAsn1Comments, getChildren, getDescription, getObjectName, getOID, getParent, getReference, getSmiSyntax, getStatus, getTypegetSmiSyntax, getSyntaxSmiMaxAccess getMaxAccess()
List<SmiObjectType> getColumns()
null
is returned.null if this OBJECT-TYPE is not a table entry (row) OBJECT-TYPE and the OBJECT-TYPE definitions
of the columnar objects of this table.List<SmiObjectTypeIndex> getIndexObjects()
null
is returned.null if this OBJECT-TYPE is not a table entry (row) OBJECT-TYPE and the OBJECT-TYPE definitions
of the index objects of this table.String getUnits()
null if the UNITS clause is not present in this OBJECT-TYPE.int getMaxValueLength()
int getMinValueLength()
String getDefaultValue()
null is returned.Variable getDefaultVariable()
getDefaultValue() as a Variable
instance or null if there is no default value (i.e., no DEFVAL clause).Variable createNewVariable()
VariableBinding based on this object type's
default value (see getDefaultVariable()) or if that is null
new variable matching the object type's syntax created with its default constructor.Copyright © 2015 SNMP4J.com. All Rights Reserved.