public static class DefaultMOTable.ChangeSet extends Object implements MOTableRow
Constructor and Description |
---|
ChangeSet(org.snmp4j.smi.OID index,
org.snmp4j.smi.Variable[] values) |
Modifier and Type | Method and Description |
---|---|
MOTableRow |
getBaseRow()
Gets the associated base row for this row (if this row is a dependent row).
|
org.snmp4j.smi.OID |
getIndex()
Gets the row's index OID, for example the row index of the first row
of an ifTable would return
OID("1") . |
int |
getLastChangedColumn() |
org.snmp4j.smi.Variable |
getValue(int column)
Gets the value at the specified column index.
|
void |
setBaseRow(MOTableRow baseRow)
Sets the associated base row.
|
void |
setValue(int column,
org.snmp4j.smi.Variable value) |
int |
size()
Returns the number of columns in this row.
|
public ChangeSet(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values)
public org.snmp4j.smi.OID getIndex()
MOTableRow
OID("1")
.getIndex
in interface MOTableRow
public int getLastChangedColumn()
public void setValue(int column, org.snmp4j.smi.Variable value)
public org.snmp4j.smi.Variable getValue(int column)
MOTableRow
getValue
in interface MOTableRow
column
- the zero-based column index.public MOTableRow getBaseRow()
MOTableRow
getBaseRow
in interface MOTableRow
null
if this row is a base row itself.public int size()
MOTableRow
size
in interface MOTableRow
public void setBaseRow(MOTableRow baseRow)
MOTableRow
setBaseRow
in interface MOTableRow
baseRow
- the base row.Copyright © 2018 SNMP4J.org. All rights reserved.