Package org.snmp4j.agent.mo.snmp
Class SnmpAdminString
java.lang.Object
org.snmp4j.agent.mo.MOColumn<V>
org.snmp4j.agent.mo.MOMutableColumn
org.snmp4j.agent.mo.snmp.SnmpAdminString
- All Implemented Interfaces:
Comparable
-
Constructor Summary
ConstructorDescriptionSnmpAdminString
(int columnID, MOAccess access, org.snmp4j.smi.Variable defaultValue, boolean mutableInService) SnmpAdminString
(int columnID, MOAccess access, org.snmp4j.smi.Variable defaultValue, boolean mutableInService, int minLength, int maxLength) -
Method Summary
Modifier and TypeMethodDescriptionint
int
void
setMaxLength
(int maxLength) void
setMinLength
(int minLength) int
validate
(org.snmp4j.smi.Variable newValue, org.snmp4j.smi.Variable oldValue) Methods inherited from class org.snmp4j.agent.mo.MOMutableColumn
addMOValueValidationListener, cleanup, commit, getDefaultValue, isMandatory, isMutableInService, prepare, removeMOValueValidationListener, setDefaultValue, setMandatory, setMutableInService, toString, undo, validateSetRequest
Methods inherited from class org.snmp4j.agent.mo.MOColumn
compareTo, get, getAccess, getColumnID, getRestoreValue, getStoreValue, getSyntax, getTable, getValue, isVolatile, setAccess, setColumnID, setSyntax, setTable
-
Constructor Details
-
Method Details
-
getMaxLength
public int getMaxLength() -
getMinLength
public int getMinLength() -
setMaxLength
public void setMaxLength(int maxLength) -
setMinLength
public void setMinLength(int minLength) -
validate
public int validate(org.snmp4j.smi.Variable newValue, org.snmp4j.smi.Variable oldValue) - Overrides:
validate
in classMOMutableColumn
-