org.snmp4j.agent.mo
Class DefaultMOTable.ChangeSet

java.lang.Object
  extended by org.snmp4j.agent.mo.DefaultMOTable.ChangeSet
All Implemented Interfaces:
MOTableRow
Enclosing class:
DefaultMOTable<R extends MOTableRow,C extends MOColumn,M extends MOTableModel<R>>

public static class DefaultMOTable.ChangeSet
extends java.lang.Object
implements MOTableRow


Constructor Summary
DefaultMOTable.ChangeSet(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMOTable.ChangeSet

public DefaultMOTable.ChangeSet(org.snmp4j.smi.OID index,
                                org.snmp4j.smi.Variable[] values)
Method Detail

getIndex

public org.snmp4j.smi.OID getIndex()
Description copied from interface: MOTableRow
Gets the row's index OID, for example the row index of the first row of an ifTable would return OID("1").

Specified by:
getIndex in interface MOTableRow
Returns:
the row index of this row.

getLastChangedColumn

public int getLastChangedColumn()

setValue

public void setValue(int column,
                     org.snmp4j.smi.Variable value)

getValue

public org.snmp4j.smi.Variable getValue(int column)
Description copied from interface: MOTableRow
Gets the value at the specified column index.

Specified by:
getValue in interface MOTableRow
Parameters:
column - the zero-based column index.
Returns:
the value at the specified index.

getBaseRow

public MOTableRow getBaseRow()
Description copied from interface: MOTableRow
Gets the associated base row for this row (if this row is a dependent row).

Specified by:
getBaseRow in interface MOTableRow
Returns:
the base row or null if this row is a base row itself.

size

public int size()
Description copied from interface: MOTableRow
Returns the number of columns in this row.

Specified by:
size in interface MOTableRow
Returns:
the column count.

setBaseRow

public void setBaseRow(MOTableRow baseRow)
Description copied from interface: MOTableRow
Sets the associated base row.

Specified by:
setBaseRow in interface MOTableRow
Parameters:
baseRow - the base row.

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.