|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.adaptors.snmp.DefaultTableEntry
class DefaultTableEntry
This class will be useful in mapping the Object[] indexes to instanceOID int[], which is well understood by the AgentTableModel Thus this class implements TableEntry.
| Constructor Summary | |
|---|---|
DefaultTableEntry(int[] instanceOID,
java.lang.Object[] index)
The constructor for DefaultTableEntry |
|
| Method Summary | |
|---|---|
int[] |
computeInstanceOID()
This method is called whenever the instanceOID needs to be recomputed. |
void |
decrementCount()
This method reduces the column count by 1. |
int |
getCount()
The method to get the column count. |
java.lang.Object[] |
getIndex()
Getter for the indexes. |
int[] |
getInstanceOID()
Getter for instance OID which identifies a TableEntry. |
void |
setColumnCount(int value)
Method to set the column count. |
void |
setInstanceOID(int[] instanceOID)
Setter for instanceOID. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultTableEntry(int[] instanceOID,
java.lang.Object[] index)
instanceOID - the InstanceOID int array for the Entryindex - the Object[] of the indexes| Method Detail |
|---|
public int[] getInstanceOID()
getInstanceOID in interface TableEntrypublic void setInstanceOID(int[] instanceOID)
setInstanceOID in interface TableEntryinstanceOID - The Value of the InstanceaOOD to set.public int[] computeInstanceOID()
computeInstanceOID in interface TableEntrypublic java.lang.Object[] getIndex()
public void setColumnCount(int value)
vlaue - the coulmn count to be set.public void decrementCount()
public int getCount()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||