org.snmp4j.agent.mo.snmp
Class SnmpAdminString
java.lang.Object
org.snmp4j.agent.mo.MOColumn
org.snmp4j.agent.mo.MOMutableColumn
org.snmp4j.agent.mo.snmp.SnmpAdminString
- All Implemented Interfaces:
- java.lang.Comparable
public class SnmpAdminString
- extends MOMutableColumn
|
Constructor Summary |
SnmpAdminString(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)
|
| 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, getSyntax, getTable, getValue, isVolatile, setAccess, setColumnID, setSyntax, setTable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SnmpAdminString
public SnmpAdminString(int columnID,
MOAccess access,
org.snmp4j.smi.Variable defaultValue,
boolean mutableInService)
SnmpAdminString
public SnmpAdminString(int columnID,
MOAccess access,
org.snmp4j.smi.Variable defaultValue,
boolean mutableInService,
int minLength,
int maxLength)
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 class MOMutableColumn
Copyright © 2011 SNMP4J.org. All Rights Reserved.