Class CollectionValuePropertyHolder
java.lang.Object
org.eclipse.persistence.internal.indirection.DatabaseValueHolder<T>
org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder
io.jmix.eclipselink.impl.lazyloading.AbstractValueHolder
io.jmix.eclipselink.impl.lazyloading.CollectionValuePropertyHolder
- All Implemented Interfaces:
Serializable
,Cloneable
,org.eclipse.persistence.indirection.ValueHolderInterface
,org.eclipse.persistence.indirection.WeavedAttributeValueHolderInterface
,org.eclipse.persistence.internal.indirection.WrappingValueHolder
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
-
Field Summary
Fields inherited from class io.jmix.eclipselink.impl.lazyloading.AbstractValueHolder
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
ConstructorDescriptionCollectionValuePropertyHolder
(org.springframework.beans.factory.BeanFactory beanFactory, org.eclipse.persistence.indirection.ValueHolderInterface originalValueHolder, Object owner, MetaProperty metaProperty) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
afterLoadValue
(Object value) protected LoadContext<?>
createLoadContextByOwner
(MetaClass metaClass) protected Object
protected void
replaceCollectionExistingReferences
(Collection<Object> collection, Object entityToReplace) void
setRootEntity
(Object rootEntity) Methods inherited from class io.jmix.eclipselink.impl.lazyloading.AbstractValueHolder
buildBackupCloneFor, buildCloneFor, getDataManager, getFetchPlans, getLoadOptions, getMapping, getMetadata, getMetadataTools, getOwner, getPropertyInfo, getRow, getSession, getValue, getValue, getWrappedValueHolder, getWrappedValueHolderRemoteID, instantiateForUnitOfWorkValueHolder, isCoordinatedWithProperty, isEasilyInstantiated, isInstantiated, isNewlyWeavedValueHolder, isPessimisticLockingValueHolder, isSerializedRemoteUnitOfWorkValueHolder, postInstantiate, privilegedSetValue, releaseWrappedValueHolder, replaceLoadOptions, replaceToExistingReferences, setBackupValueHolder, setInstantiated, setIsCoordinatedWithProperty, setIsNewlyWeavedValueHolder, setLoadOptions, setRow, setSession, setUninstantiated, setValue, shouldAllowInstantiationDeferral
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
-
Constructor Details
-
CollectionValuePropertyHolder
public CollectionValuePropertyHolder(org.springframework.beans.factory.BeanFactory beanFactory, org.eclipse.persistence.indirection.ValueHolderInterface originalValueHolder, Object owner, MetaProperty metaProperty)
-
-
Method Details
-
setRootEntity
-
getRootEntity
-
loadValue
- Specified by:
loadValue
in classAbstractValueHolder
-
afterLoadValue
- Specified by:
afterLoadValue
in classAbstractValueHolder
-
createLoadContextByOwner
-
replaceCollectionExistingReferences
protected void replaceCollectionExistingReferences(Collection<Object> collection, Object entityToReplace)
-