stomp.jdo
Interface Persistent

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

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

Method Summary
 void dataChanged()
          a hint from the JDOCache that the objects persistent data may have been changed.
 ObjectId getHcmObjectId()
          returns a JDO object id holder that contains extra information about the type of this object.
 
Methods inherited from interface stomp.jdo.TransientTransactional
findInPm
 

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.

getHcmObjectId

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