Class AbstractValueHolder
java.lang.Object
org.eclipse.persistence.internal.indirection.DatabaseValueHolder<T>
org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder
io.jmix.eclipselink.impl.lazyloading.AbstractValueHolder
- All Implemented Interfaces:
Serializable
,Cloneable
,org.eclipse.persistence.indirection.ValueHolderInterface
,org.eclipse.persistence.indirection.WeavedAttributeValueHolderInterface
,org.eclipse.persistence.internal.indirection.WrappingValueHolder
- Direct Known Subclasses:
AbstractSingleValueHolder
,CollectionValuePropertyHolder
public abstract class AbstractValueHolder
extends org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder
implements org.eclipse.persistence.indirection.ValueHolderInterface, org.eclipse.persistence.indirection.WeavedAttributeValueHolderInterface, org.eclipse.persistence.internal.indirection.WrappingValueHolder, Cloneable, Serializable
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.beans.factory.BeanFactory
Fields inherited from class org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder
backupValueHolder, mapping, relationshipSourceObject, remoteUnitOfWork, sourceAttributeName, sourceObject, wrappedValueHolder, wrappedValueHolderRemoteID
Fields inherited from class org.eclipse.persistence.internal.indirection.DatabaseValueHolder
isCoordinatedWithProperty, row, session
Fields inherited from interface org.eclipse.persistence.indirection.ValueHolderInterface
shouldToStringInstantiate
-
Constructor Summary
ConstructorDescriptionAbstractValueHolder
(org.springframework.beans.factory.BeanFactory beanFactory, org.eclipse.persistence.indirection.ValueHolderInterface originalValueHolder, Object owner, MetaProperty metaProperty) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
afterLoadValue
(Object value) protected Object
buildBackupCloneFor
(Object cloneAttributeValue) buildCloneFor
(Object originalAttributeValue) protected UnconstrainedDataManager
protected FetchPlans
io.jmix.eclipselink.impl.lazyloading.LoadOptions
org.eclipse.persistence.mappings.DatabaseMapping
protected Metadata
protected MetadataTools
getOwner()
org.eclipse.persistence.internal.sessions.AbstractRecord
getRow()
org.eclipse.persistence.internal.sessions.AbstractSession
getValue()
getValue
(org.eclipse.persistence.internal.sessions.UnitOfWorkImpl uow) org.eclipse.persistence.indirection.ValueHolderInterface
instantiateForUnitOfWorkValueHolder
(org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder unitOfWorkValueHolder) boolean
boolean
boolean
boolean
boolean
boolean
protected abstract Object
void
void
privilegedSetValue
(Object value) void
releaseWrappedValueHolder
(org.eclipse.persistence.internal.sessions.AbstractSession targetSession) protected void
replaceLoadOptions
(Object entity, MetaProperty property) protected void
replaceToExistingReferences
(Object entity, MetaProperty property, Object owner) void
setBackupValueHolder
(org.eclipse.persistence.indirection.ValueHolderInterface backupValueHolder) void
void
setIsCoordinatedWithProperty
(boolean coordinated) void
setIsNewlyWeavedValueHolder
(boolean isNew) void
setLoadOptions
(io.jmix.eclipselink.impl.lazyloading.LoadOptions loadOptions) void
setRow
(org.eclipse.persistence.internal.sessions.AbstractRecord row) void
setSession
(org.eclipse.persistence.internal.sessions.AbstractSession session) void
void
boolean
Methods inherited from class org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder
getBackupValueHolder, getRelationshipSourceObject, getRemoteUnitOfWork, getSourceAttributeName, getSourceObject, getUnitOfWork, getValueFromServerObject, instantiate, instantiateImpl, resetFields, setMapping, setRelationshipSourceObject, setRemoteUnitOfWork, setSourceAttributeName, setSourceObject, setWrappedValueHolder, throwUnfetchedAttributeException
Methods inherited from class org.eclipse.persistence.internal.indirection.DatabaseValueHolder
clone, isTransactionalValueHolder, toString
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.persistence.indirection.ValueHolderInterface
clone
-
Field Details
-
beanFactory
protected transient org.springframework.beans.factory.BeanFactory beanFactory
-
-
Constructor Details
-
AbstractValueHolder
public AbstractValueHolder(org.springframework.beans.factory.BeanFactory beanFactory, org.eclipse.persistence.indirection.ValueHolderInterface originalValueHolder, Object owner, MetaProperty metaProperty)
-
-
Method Details
-
getWrappedValueHolder
public org.eclipse.persistence.indirection.ValueHolderInterface getWrappedValueHolder()- Specified by:
getWrappedValueHolder
in interfaceorg.eclipse.persistence.internal.indirection.WrappingValueHolder
- Overrides:
getWrappedValueHolder
in classorg.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder
-
isCoordinatedWithProperty
public boolean isCoordinatedWithProperty()- Specified by:
isCoordinatedWithProperty
in interfaceorg.eclipse.persistence.indirection.WeavedAttributeValueHolderInterface
- Overrides:
isCoordinatedWithProperty
in classorg.eclipse.persistence.internal.indirection.DatabaseValueHolder
-
setIsCoordinatedWithProperty
public void setIsCoordinatedWithProperty(boolean coordinated) - Specified by:
setIsCoordinatedWithProperty
in interfaceorg.eclipse.persistence.indirection.WeavedAttributeValueHolderInterface
- Overrides:
setIsCoordinatedWithProperty
in classorg.eclipse.persistence.internal.indirection.DatabaseValueHolder
-
isNewlyWeavedValueHolder
public boolean isNewlyWeavedValueHolder()- Specified by:
isNewlyWeavedValueHolder
in interfaceorg.eclipse.persistence.indirection.WeavedAttributeValueHolderInterface
- Overrides:
isNewlyWeavedValueHolder
in classorg.eclipse.persistence.internal.indirection.DatabaseValueHolder
-
setIsNewlyWeavedValueHolder
public void setIsNewlyWeavedValueHolder(boolean isNew) - Specified by:
setIsNewlyWeavedValueHolder
in interfaceorg.eclipse.persistence.indirection.WeavedAttributeValueHolderInterface
- Overrides:
setIsNewlyWeavedValueHolder
in classorg.eclipse.persistence.internal.indirection.DatabaseValueHolder
-
shouldAllowInstantiationDeferral
public boolean shouldAllowInstantiationDeferral()- Specified by:
shouldAllowInstantiationDeferral
in interfaceorg.eclipse.persistence.indirection.WeavedAttributeValueHolderInterface
- Overrides:
shouldAllowInstantiationDeferral
in classorg.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder
-
getMapping
public org.eclipse.persistence.mappings.DatabaseMapping getMapping()- Overrides:
getMapping
in classorg.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder
-
isEasilyInstantiated
public boolean isEasilyInstantiated()- Overrides:
isEasilyInstantiated
in classorg.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder
-
isPessimisticLockingValueHolder
public boolean isPessimisticLockingValueHolder()- Overrides:
isPessimisticLockingValueHolder
in classorg.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder
-
getWrappedValueHolderRemoteID
- Overrides:
getWrappedValueHolderRemoteID
in classorg.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder
-
isSerializedRemoteUnitOfWorkValueHolder
public boolean isSerializedRemoteUnitOfWorkValueHolder()- Overrides:
isSerializedRemoteUnitOfWorkValueHolder
in classorg.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder
-
instantiateForUnitOfWorkValueHolder
public Object instantiateForUnitOfWorkValueHolder(org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder unitOfWorkValueHolder) - Overrides:
instantiateForUnitOfWorkValueHolder
in classorg.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder
-
releaseWrappedValueHolder
public void releaseWrappedValueHolder(org.eclipse.persistence.internal.sessions.AbstractSession targetSession) - Overrides:
releaseWrappedValueHolder
in classorg.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder
-
setBackupValueHolder
public void setBackupValueHolder(org.eclipse.persistence.indirection.ValueHolderInterface backupValueHolder) - Overrides:
setBackupValueHolder
in classorg.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder
-
getRow
public org.eclipse.persistence.internal.sessions.AbstractRecord getRow()- Overrides:
getRow
in classorg.eclipse.persistence.internal.indirection.DatabaseValueHolder
-
getSession
public org.eclipse.persistence.internal.sessions.AbstractSession getSession()- Overrides:
getSession
in classorg.eclipse.persistence.internal.indirection.DatabaseValueHolder
-
getValue
- Overrides:
getValue
in classorg.eclipse.persistence.internal.indirection.DatabaseValueHolder
-
postInstantiate
public void postInstantiate()- Overrides:
postInstantiate
in classorg.eclipse.persistence.internal.indirection.DatabaseValueHolder
-
privilegedSetValue
- Overrides:
privilegedSetValue
in classorg.eclipse.persistence.internal.indirection.DatabaseValueHolder
-
setInstantiated
public void setInstantiated()- Overrides:
setInstantiated
in classorg.eclipse.persistence.internal.indirection.DatabaseValueHolder
-
setRow
public void setRow(org.eclipse.persistence.internal.sessions.AbstractRecord row) - Overrides:
setRow
in classorg.eclipse.persistence.internal.indirection.DatabaseValueHolder
-
setSession
public void setSession(org.eclipse.persistence.internal.sessions.AbstractSession session) - Overrides:
setSession
in classorg.eclipse.persistence.internal.indirection.DatabaseValueHolder
-
setUninstantiated
public void setUninstantiated()- Overrides:
setUninstantiated
in classorg.eclipse.persistence.internal.indirection.DatabaseValueHolder
-
buildCloneFor
- Specified by:
buildCloneFor
in classorg.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder
-
buildBackupCloneFor
- Specified by:
buildBackupCloneFor
in classorg.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder
-
isInstantiated
public boolean isInstantiated()- Specified by:
isInstantiated
in interfaceorg.eclipse.persistence.indirection.ValueHolderInterface
- Overrides:
isInstantiated
in classorg.eclipse.persistence.internal.indirection.DatabaseValueHolder
-
getValue
- Specified by:
getValue
in interfaceorg.eclipse.persistence.indirection.ValueHolderInterface
- Overrides:
getValue
in classorg.eclipse.persistence.internal.indirection.DatabaseValueHolder
-
loadValue
-
afterLoadValue
-
setValue
- Specified by:
setValue
in interfaceorg.eclipse.persistence.indirection.ValueHolderInterface
- Overrides:
setValue
in classorg.eclipse.persistence.internal.indirection.DatabaseValueHolder
-
setLoadOptions
public void setLoadOptions(io.jmix.eclipselink.impl.lazyloading.LoadOptions loadOptions) -
getLoadOptions
public io.jmix.eclipselink.impl.lazyloading.LoadOptions getLoadOptions() -
getOwner
-
getPropertyInfo
-
replaceToExistingReferences
-
replaceLoadOptions
-
getMetadata
-
getMetadataTools
-
getDataManager
-
getFetchPlans
-