stomp.jdo
Interface Persistent

All Superinterfaces:
java.io.Serializable, TransientTransactional
All Known Subinterfaces:
ServiceDelegate, ServiceEnhanced, ServiceProxy
All Known Implementing Classes:
AbstractPersistentObject, AbstractServiceDelegate, AbstractServiceProxy

public interface Persistent
extends java.io.Serializable, TransientTransactional

Suggested interface for all objects that will be persisted. Ensures that transient objects can be persisted correctly, allows for callbacks in the event that the object is changed in a different JVM, etc.

Author:
Eric Lindauer

Field Summary
static java.lang.String STOMP
          a default schema group for users who are not tying multiple db schemas together
 
Method Summary
 void dataChanged()
          a hint from the JDOCache that the objects persistent data may have been changed.
 ObjectId getDeletedInfo()
          returns a JDO object id holder that contains extra information about the type of this object.
 java.lang.String getSchemaGroup()
          identifies the schema group this object is a part of.
 
Methods inherited from interface stomp.jdo.TransientTransactional
findInPm
 

Field Detail

STOMP

public static final java.lang.String STOMP
a default schema group for users who are not tying multiple db schemas together

See Also:
Constant Field Values
Method Detail

dataChanged

public void dataChanged()
a hint from the JDOCache that the objects persistent data may have been changed. objects should respond by deleting rebuilding transient data, etc.


getDeletedInfo

public ObjectId getDeletedInfo()
returns a JDO object id holder that contains extra information about the type of this object.


getSchemaGroup

public java.lang.String getSchemaGroup()
identifies the schema group this object is a part of.