Package org.datanucleus.api.jdo
Class JDOStateInterrogation
- java.lang.Object
-
- org.datanucleus.api.jdo.JDOStateInterrogation
-
- All Implemented Interfaces:
javax.jdo.spi.StateInterrogation
public class JDOStateInterrogation extends java.lang.Object implements javax.jdo.spi.StateInterrogation
Hook for providing JDOHelper support for none "binary compatible" enhanced classes.
-
-
Constructor Summary
Constructors Constructor Description JDOStateInterrogation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getObjectId(java.lang.Object pc)
javax.jdo.PersistenceManager
getPersistenceManager(java.lang.Object pc)
java.lang.Object
getTransactionalObjectId(java.lang.Object pc)
java.lang.Object
getVersion(java.lang.Object pc)
java.lang.Boolean
isDeleted(java.lang.Object pc)
java.lang.Boolean
isDetached(java.lang.Object pc)
java.lang.Boolean
isDirty(java.lang.Object pc)
java.lang.Boolean
isNew(java.lang.Object pc)
java.lang.Boolean
isPersistent(java.lang.Object pc)
java.lang.Boolean
isTransactional(java.lang.Object pc)
boolean
makeDirty(java.lang.Object pc, java.lang.String fieldName)
-
-
-
Method Detail
-
getObjectId
public java.lang.Object getObjectId(java.lang.Object pc)
- Specified by:
getObjectId
in interfacejavax.jdo.spi.StateInterrogation
-
getPersistenceManager
public javax.jdo.PersistenceManager getPersistenceManager(java.lang.Object pc)
- Specified by:
getPersistenceManager
in interfacejavax.jdo.spi.StateInterrogation
-
getTransactionalObjectId
public java.lang.Object getTransactionalObjectId(java.lang.Object pc)
- Specified by:
getTransactionalObjectId
in interfacejavax.jdo.spi.StateInterrogation
-
getVersion
public java.lang.Object getVersion(java.lang.Object pc)
- Specified by:
getVersion
in interfacejavax.jdo.spi.StateInterrogation
-
isDeleted
public java.lang.Boolean isDeleted(java.lang.Object pc)
- Specified by:
isDeleted
in interfacejavax.jdo.spi.StateInterrogation
-
isDetached
public java.lang.Boolean isDetached(java.lang.Object pc)
- Specified by:
isDetached
in interfacejavax.jdo.spi.StateInterrogation
-
isDirty
public java.lang.Boolean isDirty(java.lang.Object pc)
- Specified by:
isDirty
in interfacejavax.jdo.spi.StateInterrogation
-
isNew
public java.lang.Boolean isNew(java.lang.Object pc)
- Specified by:
isNew
in interfacejavax.jdo.spi.StateInterrogation
-
isPersistent
public java.lang.Boolean isPersistent(java.lang.Object pc)
- Specified by:
isPersistent
in interfacejavax.jdo.spi.StateInterrogation
-
isTransactional
public java.lang.Boolean isTransactional(java.lang.Object pc)
- Specified by:
isTransactional
in interfacejavax.jdo.spi.StateInterrogation
-
makeDirty
public boolean makeDirty(java.lang.Object pc, java.lang.String fieldName)
- Specified by:
makeDirty
in interfacejavax.jdo.spi.StateInterrogation
-
-