org.datanucleus.jpa
Interface Persistable
public interface Persistable
Standard interface that any class that is persistable should implement when not using JDO.
Based roughly on the javax.jdo.spi.PersistenceCapable.
- Version:
- $Revision: 1.3 $
READ_WRITE_OK
static final byte READ_WRITE_OK
- See Also:
- Constant Field Values
LOAD_REQUIRED
static final byte LOAD_REQUIRED
- See Also:
- Constant Field Values
READ_OK
static final byte READ_OK
- See Also:
- Constant Field Values
CHECK_READ
static final byte CHECK_READ
- See Also:
- Constant Field Values
MEDIATE_READ
static final byte MEDIATE_READ
- See Also:
- Constant Field Values
CHECK_WRITE
static final byte CHECK_WRITE
- See Also:
- Constant Field Values
MEDIATE_WRITE
static final byte MEDIATE_WRITE
- See Also:
- Constant Field Values
SERIALIZABLE
static final byte SERIALIZABLE
- See Also:
- Constant Field Values
jpoxGetStateManager
org.datanucleus.StateManager jpoxGetStateManager()
jpoxReplaceStateManager
void jpoxReplaceStateManager(org.datanucleus.StateManager sm)
throws java.lang.SecurityException
- Throws:
java.lang.SecurityException
jpoxProvideField
void jpoxProvideField(int fieldNumber)
jpoxProvideFields
void jpoxProvideFields(int[] fieldNumbers)
jpoxReplaceField
void jpoxReplaceField(int fieldNumber)
jpoxReplaceFields
void jpoxReplaceFields(int[] fieldNumbers)
jpoxReplaceFlags
void jpoxReplaceFlags()
jpoxCopyFields
void jpoxCopyFields(java.lang.Object other,
int[] fieldNumbers)
jpoxMakeDirty
void jpoxMakeDirty(java.lang.String fieldName)
jpoxGetObjectId
java.lang.Object jpoxGetObjectId()
jpoxGetTransactionalObjectId
java.lang.Object jpoxGetTransactionalObjectId()
jpoxGetVersion
java.lang.Object jpoxGetVersion()
jpoxIsDirty
boolean jpoxIsDirty()
jpoxIsTransactional
boolean jpoxIsTransactional()
jpoxIsPersistent
boolean jpoxIsPersistent()
jpoxIsNew
boolean jpoxIsNew()
jpoxIsDeleted
boolean jpoxIsDeleted()
jpoxIsDetached
boolean jpoxIsDetached()
jpoxNewInstance
Persistable jpoxNewInstance(org.datanucleus.StateManager sm)
jpoxNewInstance
Persistable jpoxNewInstance(org.datanucleus.StateManager sm,
java.lang.Object oid)
jpoxNewObjectIdInstance
java.lang.Object jpoxNewObjectIdInstance()
jpoxNewObjectIdInstance
java.lang.Object jpoxNewObjectIdInstance(java.lang.Object o)
jpoxCopyKeyFieldsToObjectId
void jpoxCopyKeyFieldsToObjectId(java.lang.Object oid)
jpoxCopyKeyFieldsToObjectId
void jpoxCopyKeyFieldsToObjectId(org.datanucleus.store.fieldmanager.FieldSupplier fm,
java.lang.Object oid)
jpoxCopyKeyFieldsFromObjectId
void jpoxCopyKeyFieldsFromObjectId(org.datanucleus.store.fieldmanager.FieldConsumer fm,
java.lang.Object oid)
jpoxReplaceDetachedState
void jpoxReplaceDetachedState()
Copyright © 2009. All Rights Reserved.