org.snmp4j.agent.mo
Interface MOTableRow

All Known Subinterfaces:
MOMutableRow2PC, MOMutableTableRow
All Known Implementing Classes:
DefaultMOMutableRow2PC, DefaultMOTable.ChangeSet, DefaultMOTableRow, NotificationLogMib.NlmConfigLogEntryRow, NotificationLogMib.NlmLogEntryRow, NotificationLogMib.NlmLogVariableEntryRow, NotificationLogMib.NlmStatsLogEntryRow, Snmp4jDemoMib.Snmp4jDemoEntryRow, Snmp4jHeartbeatMib.Snmp4jAgentHBCtrlEntryRow, Snmp4jLogMib.Snmp4jLogLoggerRow, Snmp4jProxyMib.Snmp4jProxyEntryRow, SnmpProxyMIB.SnmpProxyRow, SnmpTargetMIB.SnmpTargetAddrEntryRow, SnmpTlsTmMib.SnmpTlstmAddrEntryRow, SnmpTlsTmMib.SnmpTlstmCertToTSNEntryRow, SnmpTlsTmMib.SnmpTlstmParamsEntryRow, UsmMIB.UsmTableRow

public interface MOTableRow

The MOTableRow interface describes a conceptual table row.

Version:
1.0
Author:
Frank Fock

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").
 org.snmp4j.smi.Variable getValue(int column)
          Gets the value at the specified column index.
 void setBaseRow(MOTableRow baseRow)
          Sets the associated base row.
 int size()
          Returns the number of columns in this row.
 

Method Detail

getIndex

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").

Returns:
the row index of this row.

getValue

org.snmp4j.smi.Variable getValue(int column)
Gets the value at the specified column index.

Parameters:
column - the zero-based column index.
Returns:
the value at the specified index.

getBaseRow

MOTableRow getBaseRow()
Gets the associated base row for this row (if this row is a dependent row).

Returns:
the base row or null if this row is a base row itself.

setBaseRow

void setBaseRow(MOTableRow baseRow)
Sets the associated base row.

Parameters:
baseRow - the base row.

size

int size()
Returns the number of columns in this row.

Returns:
the column count.

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.