Uses of Enum
org.datanucleus.PersistableObjectType
Packages that use PersistableObjectType
Package
Description
This package provides classes that are typically externally called, whether that means by developers
or by other DataNucleus plugins.
This package provides classes implementing L1/L2 persistable object caching within DataNucleus.
Provides classes relating to the life cycle state management of a persistable object.
Package providing managers for fields which give a mechanism for navigating through fields of a class and
performing operations based on the type of the field.
Package providing classes for supporting use of containers (collection, map, array) in DataNucleus.
-
Uses of PersistableObjectType in org.datanucleus
Fields in org.datanucleus declared as PersistableObjectTypeModifier and TypeFieldDescriptionprotected PersistableObjectType
ExecutionContext.EmbeddedOwnerRelation.objectType
Methods in org.datanucleus that return PersistableObjectTypeModifier and TypeMethodDescriptionExecutionContext.EmbeddedOwnerRelation.getObjectType()
static PersistableObjectType
Returns the enum constant of this type with the specified name.static PersistableObjectType[]
PersistableObjectType.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.datanucleus with parameters of type PersistableObjectTypeModifier and TypeMethodDescriptionExecutionContext.findStateManagerForEmbedded
(Object value, DNStateManager owner, AbstractMemberMetaData mmd, PersistableObjectType objectType) Method to find StateManager for the passed embedded persistable object.ExecutionContextImpl.findStateManagerForEmbedded
(Object value, DNStateManager ownerSM, AbstractMemberMetaData mmd, PersistableObjectType objectType) default <T> T
ExecutionContext.persistObjectInternal
(T pc, FieldValues preInsertChanges, PersistableObjectType objectType) Method to make an object persistent which should be called from INTERNAL (DataNucleus) calls only.<T> T
ExecutionContext.persistObjectInternal
(T pc, FieldValues preInsertChanges, PersistableObjectType objectType, DNStateManager ownerSM, int ownerFieldNum) Method to make an object persistent which should be called from INTERNAL (DataNucleus) calls only.<T> T
ExecutionContextImpl.persistObjectInternal
(T obj, FieldValues preInsertChanges, PersistableObjectType objectType, DNStateManager ownerSM, int ownerFieldNum) ExecutionContext.registerEmbeddedRelation
(DNStateManager ownerSM, int ownerMemberNum, PersistableObjectType objectType, DNStateManager embSM) Method to register an embedded relation for the specified member of the owner StateManager where the embedded StateManager is stored.ExecutionContextImpl.registerEmbeddedRelation
(DNStateManager ownerSM, int ownerMemberNum, PersistableObjectType objectType, DNStateManager embSM) Constructors in org.datanucleus with parameters of type PersistableObjectTypeModifierConstructorDescriptionEmbeddedOwnerRelation
(DNStateManager sm, int memberNum, PersistableObjectType objectType, DNStateManager embSM) -
Uses of PersistableObjectType in org.datanucleus.cache
Methods in org.datanucleus.cache with parameters of type PersistableObjectTypeModifier and TypeMethodDescriptionprivate Object
L2CacheRetrieveFieldManager.convertCachedPCToPersistable
(CachedPC cachedPC, int memberNumber, PersistableObjectType objectType) Method to convert a nested (i.e embedded) CachedPC back to the persistable object it represents. -
Uses of PersistableObjectType in org.datanucleus.state
Methods in org.datanucleus.state with parameters of type PersistableObjectTypeModifier and TypeMethodDescriptionStateManagerFactory.newForEmbedded
(ExecutionContext ec, AbstractClassMetaData cmd, DNStateManager ownerSM, int ownerMemberNumber, PersistableObjectType ownerMemberCmpt) Constructs a StateManager for an object of the specified type, creating the PC object to hold the values where this object will be EMBEDDED/SERIALISED into another persistable object.<T> DNStateManager
<T> StateManagerFactory.newForEmbedded
(ExecutionContext ec, T pc, boolean copyPc, DNStateManager ownerSM, int ownerMemberNumber, PersistableObjectType ownerMemberCmpt) Constructs a StateManager to manage a persistable instance that will be EMBEDDED/SERIALISED into another persistable object.StateManagerFactoryImpl.newForEmbedded
(ExecutionContext ec, AbstractClassMetaData cmd, DNStateManager ownerSM, int ownerMemberNumber, PersistableObjectType objectType) <T> DNStateManager
<T> StateManagerFactoryImpl.newForEmbedded
(ExecutionContext ec, T pc, boolean copyPc, DNStateManager ownerSM, int ownerMemberNumber, PersistableObjectType objectType) -
Uses of PersistableObjectType in org.datanucleus.store.fieldmanager
Methods in org.datanucleus.store.fieldmanager with parameters of type PersistableObjectTypeModifier and TypeMethodDescriptionprotected Object
PersistFieldManager.processPersistable
(Object pc, int ownerFieldNum, PersistableObjectType objectType) Utility method to process the passed persistable object. -
Uses of PersistableObjectType in org.datanucleus.store.types.containers
Methods in org.datanucleus.store.types.containers that return PersistableObjectTypeModifier and TypeMethodDescriptionArrayHandler.getObjectType
(AbstractMemberMetaData mmd) CollectionHandler.getObjectType
(AbstractMemberMetaData mmd) abstract PersistableObjectType
ElementContainerHandler.getObjectType
(AbstractMemberMetaData mmd)