|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.snmp4j.agent.mo.DefaultMOTableRow
public class DefaultMOTableRow
| Field Summary | |
|---|---|
protected org.snmp4j.smi.OID |
index
|
protected org.snmp4j.smi.Variable[] |
values
|
| Constructor Summary | |
|---|---|
DefaultMOTableRow(org.snmp4j.smi.OID index,
org.snmp4j.smi.Variable[] values)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
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. |
int |
hashCode()
|
void |
setBaseRow(MOTableRow baseRow)
Sets the associated base row. |
int |
size()
Returns the number of columns in this row. |
java.lang.String |
toString()
|
protected java.lang.String |
toStringMembers()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected org.snmp4j.smi.Variable[] values
protected org.snmp4j.smi.OID index
| Constructor Detail |
|---|
public DefaultMOTableRow(org.snmp4j.smi.OID index,
org.snmp4j.smi.Variable[] values)
| Method Detail |
|---|
public MOTableRow getBaseRow()
MOTableRow
getBaseRow in interface MOTableRownull if this row is a base row itself.public org.snmp4j.smi.OID getIndex()
MOTableRowOID("1").
getIndex in interface MOTableRowpublic org.snmp4j.smi.Variable getValue(int column)
MOTableRow
getValue in interface MOTableRowcolumn - the zero-based column index.
public int size()
MOTableRow
size in interface MOTableRowpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectprotected java.lang.String toStringMembers()
public void setBaseRow(MOTableRow baseRow)
MOTableRow
setBaseRow in interface MOTableRowbaseRow - the base row.
|
Copyright 2005-2008 Frank Fock (SNMP4J.org) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||