| java.lang.Object org.snmp4j.agent.mo.MOColumn
All known Subclasses: org.snmp4j.agent.mo.snmp.TimeStamp, org.snmp4j.agent.mo.MOMutableColumn,
MOColumn | public class MOColumn implements Comparable(Code) | | The MOColumn class represents columnar SMI objects. It
represents all instances of a table's column not only a single instance
(cell).
Objects represented by MOColumn cannot be modified via SNMP,
thus MOColumn supports read-only maximum access only.
See Also: MOMutableColumn author: Frank Fock version: 1.0 |
Constructor Summary | |
public | MOColumn(int columnID, int syntax) | public | MOColumn(int columnID, int syntax, MOAccess access) |
MOColumn | public MOColumn(int columnID, int syntax)(Code) | | |
MOColumn | public MOColumn(int columnID, int syntax, MOAccess access)(Code) | | |
compareTo | public int compareTo(Object column)(Code) | | Compares this managed object column by its ID with another column.
Parameters: column - another MOColumn . inta negative integer, zero, or a positive integer as this column IDis less than, equal to, or greater than the specified object's columnID. |
getColumnID | public int getColumnID()(Code) | | |
getSyntax | public int getSyntax()(Code) | | |
isVolatile | public boolean isVolatile(MOTableRow row, int column)(Code) | | Tests if the supplied row is volatile or persistent. If volatile then
the row will not be saved when the table is saved to persistent storage.
Parameters: row - a row of the table where this column is part of. Parameters: column - the column index of this column in row .true if row should not be |
setColumnID | public void setColumnID(int columnID)(Code) | | |
setSyntax | public void setSyntax(int syntax)(Code) | | |
setTable | public void setTable(MOTable table)(Code) | | Sets the table instance this columnar object is contained in. This method
should be called by
MOTable instance to register the table with
the column.
Parameters: table - the MOTable instance where this column is contained in. |
|
|