org.snmp4j.agent.mo.snmp
Class SnmpAdminString

java.lang.Object
  extended by org.snmp4j.agent.mo.MOColumn
      extended by org.snmp4j.agent.mo.MOMutableColumn
          extended by 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)
           
 
Method Summary
 int getMaxLength()
           
 int getMinLength()
           
 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, 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
 

Constructor Detail

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)
Method Detail

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 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.