|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.capsd.DbIfServiceEntry
public final class DbIfServiceEntry
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.
| Field Summary | |
|---|---|
static char |
STATUS_ACTIVE
Constant STATUS_ACTIVE='A' |
static char |
STATUS_DELETED
Constant STATUS_DELETED='D' |
static char |
STATUS_FORCED
Constant STATUS_FORCED='F' |
static char |
STATUS_NOT_POLLED
Constant STATUS_NOT_POLLED='N' |
static char |
STATUS_REMOTE
Constant STATUS_REMOTE='X' |
static char |
STATUS_RESUME
Constant STATUS_RESUME='R' |
static char |
STATUS_SUSPEND
Constant STATUS_SUSPEND='S' |
static char |
STATUS_UNKNOWN
Constant STATUS_UNKNOWN=' ' |
static char |
STATUS_UNMANAGED
Constant STATUS_UNMANAGED='U' |
| 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 |
|---|
public static final char STATUS_UNMANAGED
STATUS_UNMANAGED='U'
public static final char STATUS_ACTIVE
STATUS_ACTIVE='A'
public static final char STATUS_DELETED
STATUS_DELETED='D'
public static final char STATUS_FORCED
STATUS_FORCED='F'
public static final char STATUS_NOT_POLLED
STATUS_NOT_POLLED='N'
public static final char STATUS_UNKNOWN
STATUS_UNKNOWN=' '
public static final char STATUS_SUSPEND
STATUS_SUSPEND='S'
public static final char STATUS_RESUME
STATUS_RESUME='R'
public static final char STATUS_REMOTE
STATUS_REMOTE='X'
| Method Detail |
|---|
public String toString()
toString in class ObjectString object.public static void main(String[] args)
args - an array of String objects.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||