public class StorageType extends MOMutableColumn
Modifier and Type | Field and Description |
---|---|
static int |
nonVolatile |
static int |
other |
static int |
permanent |
static int |
readOnly |
static int |
volatile_ |
Constructor and Description |
---|
StorageType(int columnID,
MOAccess access,
org.snmp4j.smi.Integer32 defaultValue) |
StorageType(int columnID,
MOAccess access,
org.snmp4j.smi.Integer32 defaultValue,
boolean mutableInService) |
Modifier and Type | Method and Description |
---|---|
boolean |
isVolatile(MOTableRow row,
int column)
Tests if the supplied row is volatile or persistent.
|
int |
validate(org.snmp4j.smi.Variable newValue,
org.snmp4j.smi.Variable oldValue) |
addMOValueValidationListener, cleanup, commit, getDefaultValue, isMandatory, isMutableInService, prepare, removeMOValueValidationListener, setDefaultValue, setMandatory, setMutableInService, toString, undo, validateSetRequest
compareTo, get, getAccess, getColumnID, getRestoreValue, getStoreValue, getSyntax, getTable, getValue, setAccess, setColumnID, setSyntax, setTable
public static final int other
public static final int volatile_
public static final int nonVolatile
public static final int permanent
public static final int readOnly
public StorageType(int columnID, MOAccess access, org.snmp4j.smi.Integer32 defaultValue, boolean mutableInService)
public StorageType(int columnID, MOAccess access, org.snmp4j.smi.Integer32 defaultValue)
public int validate(org.snmp4j.smi.Variable newValue, org.snmp4j.smi.Variable oldValue)
validate
in class MOMutableColumn
public boolean isVolatile(MOTableRow row, int column)
MOColumn
isVolatile
in class MOColumn
row
- a row of the table where this column is part of.column
- the column index of this column in row
.true
if row
should not beCopyright © 2020 SNMP4J.org. All rights reserved.