|
HOME | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ireasoning.protocol.snmp.SnmpTableEntry
This class represents SNMP table entry (row)
Field Summary | |
protected Vector |
_dependents
A collection of its dependent rows |
protected SnmpOID |
_oid
|
protected String |
_suffix
The index suffix of this row |
protected SnmpTable |
_table
This SnmpTable object which contains this object |
Constructor Summary | |
SnmpTableEntry(SnmpTable table)
Constructor |
Method Summary | |
void |
addDependentRow(SnmpTable table,
SnmpTableEntry entry)
Adds a new row which depends on this row. |
void |
addRow()
Adds itself to the table. |
ArrayList |
deleteDependentRows()
Deletes all its dependent rows |
static String |
getIndexString(String text,
boolean addLength)
Helper method, converts text to index string format. |
static String |
getIndexString(String text,
boolean addLength,
boolean convertDigit)
Helper method, converts text to index string format. |
abstract String |
getIndexSuffix()
Returns the suffix |
SnmpOID |
getOID()
Returns the oid value set by setOID method |
static String |
physAddressToIndexSuffix(String physAddress)
Converts PhysAddress to the index suffix. |
abstract void |
set(int index,
SnmpDataType value)
Sets the value of table column at specified index |
void |
setIndexSuffix(String suffix)
Sets index suffix |
void |
setOID(SnmpOID oid)
Sets OID value for this entry. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected SnmpTable _table
protected String _suffix
protected Vector _dependents
protected SnmpOID _oid
Constructor Detail |
public SnmpTableEntry(SnmpTable table)
table
- the table which contain this rowMethod Detail |
public void addRow()
public abstract String getIndexSuffix()
public abstract void set(int index, SnmpDataType value)
public void setIndexSuffix(String suffix)
suffix
- the new suffixpublic static String getIndexString(String text, boolean addLength)
addLength
- true to prepend number of digits to the returned index string
public static String getIndexString(String text, boolean addLength, boolean convertDigit)
addLength
- true to prepend number of digits to the returned index stringconvertDigit
- if true, convert digit to ascii code.
public static String physAddressToIndexSuffix(String physAddress)
SnmpOctetString.convertPhysAddress(java.lang.String)
public void addDependentRow(SnmpTable table, SnmpTableEntry entry)
table
- table objectentry
- dependent row to be addedpublic ArrayList deleteDependentRows()
public SnmpOID getOID()
setOID
method
public void setOID(SnmpOID oid)
getOID()
method.
oid
- OID of an instance nodegetOID()
|
HOME | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |