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()
MOTableRowOID("1").getIndex in interface MOTableRowpublic int getLastChangedColumn()
public void setValue(int column,
org.snmp4j.smi.Variable value)
public org.snmp4j.smi.Variable getValue(int column)
MOTableRowgetValue in interface MOTableRowcolumn - the zero-based column index.public MOTableRow getBaseRow()
MOTableRowgetBaseRow in interface MOTableRownull if this row is a base row itself.public int size()
MOTableRowsize in interface MOTableRowpublic void setBaseRow(MOTableRow baseRow)
MOTableRowsetBaseRow in interface MOTableRowbaseRow - the base row.Copyright © 2020 SNMP4J.org. All rights reserved.