"WEBNMS_5 API Docs"

com.adventnet.nms.store
Interface DBInterface

All Superinterfaces:
java.lang.Cloneable
All Known Subinterfaces:
DBExtendedInterface
All Known Implementing Classes:
Alert, AlertAnnotation, AlertHistory, CORBANode, Event, InputEvent, IpAddress, ManagedGroupObject, ManagedObject, MapContainer, MapDB, MapGroup, MapLink, MapSymbol, MultiplePolledData, Network, NetworkInventory, Node, PeriodicPolicyObject, PolicyObject, PolledData, SnmpInterface, SnmpNode, TL1Interface, TL1Node, TopoObject

public interface DBInterface
extends java.lang.Cloneable

All Persistent objects which need to be stored either in a Relational Database System or Serialized flat files, should implement this interface.


Method Summary
 java.lang.Object clone()
          A method to return a new object which is a clone of this object.
 java.lang.String getKey()
          This is the primary key value of the persistent object.
 java.lang.String getKeyName()
          The field which is used as key for the object.
 java.util.Properties getProperties()
          Should return the fields and the values of the object in a Properties object.
 void setProperties(java.util.Properties p)
          This method should take in the values of all the fields in the object in a Properties Object and set them.
 

Method Detail

getKey

java.lang.String getKey()
This is the primary key value of the persistent object.


getKeyName

java.lang.String getKeyName()
The field which is used as key for the object.


setProperties

void setProperties(java.util.Properties p)
This method should take in the values of all the fields in the object in a Properties Object and set them.


getProperties

java.util.Properties getProperties()
Should return the fields and the values of the object in a Properties object.


clone

java.lang.Object clone()
A method to return a new object which is a clone of this object.


"WEBNMS_5 API Docs"

Copyright © 2011 ZOHO Corp., All Rights Reserved.