org.opennms.netmgt.capsd
Class DbIpInterfaceEntry

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

public final class DbIpInterfaceEntry
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:
James Zuo , Weave , OpenNMS

Field Summary
static char SNMP_NOT_ELIGIBLE
           
static char SNMP_PRIMARY
           
static char SNMP_SECONDARY
           
static char SNMP_UNKNOWN
           
static char STATE_ALIAS
           
static char STATE_DELETED
           
static char STATE_FORCED
           
static char STATE_MANAGED
           
static char STATE_NOT_POLLED
           
static char STATE_REMOTE
           
static char STATE_UNKNOWN
           
static char STATE_UNMANAGED
           
 
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
 

Field Detail

SNMP_PRIMARY

public static final char SNMP_PRIMARY
See Also:
Constant Field Values

SNMP_SECONDARY

public static final char SNMP_SECONDARY
See Also:
Constant Field Values

SNMP_NOT_ELIGIBLE

public static final char SNMP_NOT_ELIGIBLE
See Also:
Constant Field Values

SNMP_UNKNOWN

public static final char SNMP_UNKNOWN
See Also:
Constant Field Values

STATE_MANAGED

public static final char STATE_MANAGED
See Also:
Constant Field Values

STATE_UNMANAGED

public static final char STATE_UNMANAGED
See Also:
Constant Field Values

STATE_ALIAS

public static final char STATE_ALIAS
See Also:
Constant Field Values

STATE_DELETED

public static final char STATE_DELETED
See Also:
Constant Field Values

STATE_FORCED

public static final char STATE_FORCED
See Also:
Constant Field Values

STATE_NOT_POLLED

public static final char STATE_NOT_POLLED
See Also:
Constant Field Values

STATE_REMOTE

public static final char STATE_REMOTE
See Also:
Constant Field Values

STATE_UNKNOWN

public static final char STATE_UNKNOWN
See Also:
Constant Field Values
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.