- All Known Subinterfaces:
MOMutableRow2PC<SR>,MOMutableTableRow
- All Known Implementing Classes:
DefaultMOMutableRow2PC,DefaultMOTable.ChangeSet,DefaultMOTableRow,NotificationLogMib.NlmConfigLogEntryRow,NotificationLogMib.NlmLogEntryRow,NotificationLogMib.NlmLogVariableEntryRow,NotificationLogMib.NlmStatsLogEntryRow,Snmp4jConfigMib.Snmp4jCfgStorageEntryRow,Snmp4jConfigMib.Snmp4jCfgStorageSeqEntryRow,Snmp4jLogMib.Snmp4jLogConsoleHandlerEntryRow,Snmp4jLogMib.Snmp4jLogFileHandlerEntryRow,Snmp4jLogMib.Snmp4jLogHandlerEntryRow,Snmp4jLogMib.Snmp4jLogLoggerEntryRow,Snmp4jLogMib.Snmp4jLogLoggerRow,Snmp4jLogMib.Snmp4jLogLoggerToHandlerEntryRow,Snmp4jProxyMib.Snmp4jProxyEntryRow,SnmpCommunityMIB.SnmpCommunityEntryRow,SnmpCommunityMIB.SnmpTargetAddrExtEntryRow,SnmpProxyMIB.SnmpProxyRow,SnmpTargetMIB.SnmpTargetAddrEntryRow,SnmpTlsTmMib.SnmpTlstmAddrEntryRow,SnmpTlsTmMib.SnmpTlstmCertToTSNEntryRow,SnmpTlsTmMib.SnmpTlstmParamsEntryRow,SnmpUsmDhObjectsMib.UsmDHKickstartEntryRow,SnmpUsmDhObjectsMib.UsmDHUserKeyEntryRow,UsmMIB.UsmTableRow
public interface MOTableRow
The
MOTableRow interface describes a conceptual table row.- Version:
- 2.0.5
- Author:
- Frank Fock
-
Method Summary
Modifier and TypeMethodDescriptionGets the associated base row for this row (if this row is a dependent row).org.snmp4j.smi.OIDgetIndex()Gets the row's index OID, for example the row index of the first row of an ifTable would returnOID("1").org.snmp4j.smi.VariablegetValue(int column) Gets the value at the specified column index.voidsetBaseRow(MOTableRow baseRow) Sets the associated base row.intsize()Returns the number of columns in this row.
-
Method Details
-
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 returnOID("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
nullif this row is a base row itself.
-
setBaseRow
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.
-