Package com.snmp4j.smi
Interface SmiTextualConvention
- All Superinterfaces:
Comparable<SmiObject>
,SmiObject
,SmiValueType
The SmiTextualConvention represents the SMIv2 TEXTUAL-CONVENTION
and the SMIv1 type assignment construct.
Although this interface extends
SmiObject
, it will always return
null
for SmiObject.getOID()
because textual conventions
do not have an OID.- Since:
- 1.2 (Pro edition only)
- Author:
- Frank Fock
-
Method Summary
Modifier and TypeMethodDescriptionGets the content of the DISPLAY-HINT clause (if present).Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.snmp4j.smi.SmiObject
getAsn1Comments, getChildren, getDescription, getObjectName, getOID, getParent, getReference, getSmiSyntax, getStatus, getType
Methods inherited from interface com.snmp4j.smi.SmiValueType
getSmiSyntax, getSyntax
-
Method Details
-
getDisplayHint
String getDisplayHint()Gets the content of the DISPLAY-HINT clause (if present).- Returns:
- the UNITS clause content or
null
if the DISPLAY-HINT clause is not present in this TEXTUAL-CONVENTION.
-