org.opennms.netmgt.capsd
Class DbSnmpInterfaceEntry

java.lang.Object
  extended by org.opennms.netmgt.capsd.DbSnmpInterfaceEntry

public final class DbSnmpInterfaceEntry
extends Object

Once loaded or create, the class tracks any changes and will write those changes to the database whenever the store method is invoked. If a database conneciton is not passed to the store method, then a temporary one is allocated to write the results.

NOTE: if the connection is passed in and is not in auto commit mode, then the caller must call commit to inform the database that the transaction is complete.

Author:
Weave , OpenNMS

Method Summary
static void main(String[] args)
          For debugging only
 String toString()
          Creates a string that displays the internal contents of the record.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public String toString()
Creates a string that displays the internal contents of the record. This is mainly just used for debug output since the format is ad-hoc.

Overrides:
toString in class Object

main

public static void main(String[] args)
For debugging only



Copyright © 2009. All Rights Reserved.