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 Details

    • JDOStateInterrogation

      public JDOStateInterrogation()
  • Method Details

    • getObjectId

      public Object getObjectId(Object pc)
      Specified by:
      getObjectId in interface javax.jdo.spi.StateInterrogation
    • getPersistenceManager

      public javax.jdo.PersistenceManager getPersistenceManager(Object pc)
      Specified by:
      getPersistenceManager in interface javax.jdo.spi.StateInterrogation
    • getTransactionalObjectId

      public Object getTransactionalObjectId(Object pc)
      Specified by:
      getTransactionalObjectId in interface javax.jdo.spi.StateInterrogation
    • getVersion

      public Object getVersion(Object pc)
      Specified by:
      getVersion in interface javax.jdo.spi.StateInterrogation
    • isDeleted

      public Boolean isDeleted(Object pc)
      Specified by:
      isDeleted in interface javax.jdo.spi.StateInterrogation
    • isDetached

      public Boolean isDetached(Object pc)
      Specified by:
      isDetached in interface javax.jdo.spi.StateInterrogation
    • isDirty

      public Boolean isDirty(Object pc)
      Specified by:
      isDirty in interface javax.jdo.spi.StateInterrogation
    • isNew

      public Boolean isNew(Object pc)
      Specified by:
      isNew in interface javax.jdo.spi.StateInterrogation
    • isPersistent

      public Boolean isPersistent(Object pc)
      Specified by:
      isPersistent in interface javax.jdo.spi.StateInterrogation
    • isTransactional

      public Boolean isTransactional(Object pc)
      Specified by:
      isTransactional in interface javax.jdo.spi.StateInterrogation
    • makeDirty

      public boolean makeDirty(Object pc, String fieldName)
      Specified by:
      makeDirty in interface javax.jdo.spi.StateInterrogation