org.snmp4j.agent.example
Class Snmp4jDemoMib.Snmp4jDemoEntryRow

java.lang.Object
  extended by org.snmp4j.agent.mo.DefaultMOTableRow
      extended by org.snmp4j.agent.mo.DefaultMOMutableRow2PC
          extended by org.snmp4j.agent.example.Snmp4jDemoMib.Snmp4jDemoEntryRow
All Implemented Interfaces:
java.lang.Comparable, MOMutableRow2PC, MOMutableTableRow, MOTableRow
Enclosing class:
Snmp4jDemoMib

public class Snmp4jDemoMib.Snmp4jDemoEntryRow
extends DefaultMOMutableRow2PC


Field Summary
 
Fields inherited from class org.snmp4j.agent.mo.DefaultMOTableRow
index, values
 
Constructor Summary
Snmp4jDemoMib.Snmp4jDemoEntryRow(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values)
           
 
Method Summary
 org.snmp4j.smi.Integer32 getSnmp4jDemoEntryCol1()
           
 org.snmp4j.smi.OctetString getSnmp4jDemoEntryCol2()
           
 org.snmp4j.smi.Counter32 getSnmp4jDemoEntryCol3()
           
 org.snmp4j.smi.TimeTicks getSnmp4jDemoEntryCol4()
           
 org.snmp4j.smi.Integer32 getSnmp4jDemoEntryCol5()
           
 org.snmp4j.smi.Integer32 getSnmp4jDemoEntryCol6()
           
 org.snmp4j.smi.Integer32 getSnmp4jDemoTableRowModification()
           
 org.snmp4j.smi.Variable getValue(int column)
          Gets the value at the specified column index.
 void setSnmp4jDemoEntryCol1(org.snmp4j.smi.Integer32 newValue)
           
 void setSnmp4jDemoEntryCol2(org.snmp4j.smi.OctetString newValue)
           
 void setSnmp4jDemoEntryCol3(org.snmp4j.smi.Counter32 newValue)
           
 void setSnmp4jDemoEntryCol4(org.snmp4j.smi.TimeTicks newValue)
           
 void setSnmp4jDemoEntryCol5(org.snmp4j.smi.Integer32 newValue)
           
 void setSnmp4jDemoEntryCol6(org.snmp4j.smi.Integer32 newValue)
           
 void setSnmp4jDemoTableRowModification(org.snmp4j.smi.Integer32 newValue)
           
 void setValue(int column, org.snmp4j.smi.Variable value)
          Sets the value of a column of this row.
 
Methods inherited from class org.snmp4j.agent.mo.DefaultMOMutableRow2PC
cleanup, cleanupRow, commit, commitRow, getBaseRow, getIndex, getResultingValue, getUserObject, prepare, prepareRow, setBaseRow, setUserObject, size, toString, undo, undoRow
 
Methods inherited from class org.snmp4j.agent.mo.DefaultMOTableRow
compareTo, equals, hashCode, toStringMembers
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Snmp4jDemoMib.Snmp4jDemoEntryRow

public Snmp4jDemoMib.Snmp4jDemoEntryRow(org.snmp4j.smi.OID index,
                                        org.snmp4j.smi.Variable[] values)
Method Detail

getSnmp4jDemoEntryCol1

public org.snmp4j.smi.Integer32 getSnmp4jDemoEntryCol1()

setSnmp4jDemoEntryCol1

public void setSnmp4jDemoEntryCol1(org.snmp4j.smi.Integer32 newValue)

getSnmp4jDemoEntryCol2

public org.snmp4j.smi.OctetString getSnmp4jDemoEntryCol2()

setSnmp4jDemoEntryCol2

public void setSnmp4jDemoEntryCol2(org.snmp4j.smi.OctetString newValue)

getSnmp4jDemoEntryCol3

public org.snmp4j.smi.Counter32 getSnmp4jDemoEntryCol3()

setSnmp4jDemoEntryCol3

public void setSnmp4jDemoEntryCol3(org.snmp4j.smi.Counter32 newValue)

getSnmp4jDemoEntryCol4

public org.snmp4j.smi.TimeTicks getSnmp4jDemoEntryCol4()

setSnmp4jDemoEntryCol4

public void setSnmp4jDemoEntryCol4(org.snmp4j.smi.TimeTicks newValue)

getSnmp4jDemoEntryCol5

public org.snmp4j.smi.Integer32 getSnmp4jDemoEntryCol5()

setSnmp4jDemoEntryCol5

public void setSnmp4jDemoEntryCol5(org.snmp4j.smi.Integer32 newValue)

getSnmp4jDemoEntryCol6

public org.snmp4j.smi.Integer32 getSnmp4jDemoEntryCol6()

setSnmp4jDemoEntryCol6

public void setSnmp4jDemoEntryCol6(org.snmp4j.smi.Integer32 newValue)

getSnmp4jDemoTableRowModification

public org.snmp4j.smi.Integer32 getSnmp4jDemoTableRowModification()

setSnmp4jDemoTableRowModification

public void setSnmp4jDemoTableRowModification(org.snmp4j.smi.Integer32 newValue)

getValue

public org.snmp4j.smi.Variable getValue(int column)
Description copied from interface: MOTableRow
Gets the value at the specified column index.

Specified by:
getValue in interface MOTableRow
Overrides:
getValue in class DefaultMOMutableRow2PC
Parameters:
column - the zero-based column index.
Returns:
the value at the specified index.

setValue

public void setValue(int column,
                     org.snmp4j.smi.Variable value)
Description copied from interface: MOMutableTableRow
Sets the value of a column of this row.

Specified by:
setValue in interface MOMutableTableRow
Overrides:
setValue in class DefaultMOMutableRow2PC
Parameters:
column - the (zero-based) column index.
value - the new value for the specified column. Implementations of this method may not check the value's type to match the columns type for performance reasons. Thus, the caller have to make sure that the type's match to avoid runtime exceptions later.

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.