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 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 Object
getObjectId(Object pc)
javax.jdo.PersistenceManager
getPersistenceManager(Object pc)
Object
getTransactionalObjectId(Object pc)
Object
getVersion(Object pc)
Boolean
isDeleted(Object pc)
Boolean
isDetached(Object pc)
Boolean
isDirty(Object pc)
Boolean
isNew(Object pc)
Boolean
isPersistent(Object pc)
Boolean
isTransactional(Object pc)
boolean
makeDirty(Object pc, String fieldName)
-
-
-
Method Detail
-
getObjectId
public Object getObjectId(Object pc)
- Specified by:
getObjectId
in interfacejavax.jdo.spi.StateInterrogation
-
getPersistenceManager
public javax.jdo.PersistenceManager getPersistenceManager(Object pc)
- Specified by:
getPersistenceManager
in interfacejavax.jdo.spi.StateInterrogation
-
getTransactionalObjectId
public Object getTransactionalObjectId(Object pc)
- Specified by:
getTransactionalObjectId
in interfacejavax.jdo.spi.StateInterrogation
-
getVersion
public Object getVersion(Object pc)
- Specified by:
getVersion
in interfacejavax.jdo.spi.StateInterrogation
-
isDeleted
public Boolean isDeleted(Object pc)
- Specified by:
isDeleted
in interfacejavax.jdo.spi.StateInterrogation
-
isDetached
public Boolean isDetached(Object pc)
- Specified by:
isDetached
in interfacejavax.jdo.spi.StateInterrogation
-
isDirty
public Boolean isDirty(Object pc)
- Specified by:
isDirty
in interfacejavax.jdo.spi.StateInterrogation
-
isNew
public Boolean isNew(Object pc)
- Specified by:
isNew
in interfacejavax.jdo.spi.StateInterrogation
-
isPersistent
public Boolean isPersistent(Object pc)
- Specified by:
isPersistent
in interfacejavax.jdo.spi.StateInterrogation
-
isTransactional
public Boolean isTransactional(Object pc)
- Specified by:
isTransactional
in interfacejavax.jdo.spi.StateInterrogation
-
-