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, java.lang.Cloneable, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.beans.factory.BeanFactory |
beanFactory |
backupValueHolder, mapping, relationshipSourceObject, remoteUnitOfWork, sourceAttributeName, sourceObject, wrappedValueHolder, wrappedValueHolderRemoteID| Constructor and Description |
|---|
AbstractValueHolder(org.springframework.beans.factory.BeanFactory beanFactory,
org.eclipse.persistence.indirection.ValueHolderInterface originalValueHolder,
java.lang.Object owner,
io.jmix.core.metamodel.model.MetaProperty metaProperty) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
afterLoadValue(java.lang.Object value) |
protected java.lang.Object |
buildBackupCloneFor(java.lang.Object cloneAttributeValue) |
java.lang.Object |
buildCloneFor(java.lang.Object originalAttributeValue) |
protected io.jmix.core.UnconstrainedDataManager |
getDataManager() |
protected io.jmix.core.FetchPlans |
getFetchPlans() |
io.jmix.eclipselink.impl.lazyloading.LoadOptions |
getLoadOptions() |
org.eclipse.persistence.mappings.DatabaseMapping |
getMapping() |
protected io.jmix.core.Metadata |
getMetadata() |
protected io.jmix.core.MetadataTools |
getMetadataTools() |
java.lang.Object |
getOwner() |
MetaPropertyInfo |
getPropertyInfo() |
org.eclipse.persistence.internal.sessions.AbstractRecord |
getRow() |
org.eclipse.persistence.internal.sessions.AbstractSession |
getSession() |
java.lang.Object |
getValue() |
java.lang.Object |
getValue(org.eclipse.persistence.internal.sessions.UnitOfWorkImpl uow) |
org.eclipse.persistence.indirection.ValueHolderInterface |
getWrappedValueHolder() |
java.rmi.server.ObjID |
getWrappedValueHolderRemoteID() |
java.lang.Object |
instantiateForUnitOfWorkValueHolder(org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder unitOfWorkValueHolder) |
boolean |
isCoordinatedWithProperty() |
boolean |
isEasilyInstantiated() |
boolean |
isInstantiated() |
boolean |
isNewlyWeavedValueHolder() |
boolean |
isPessimisticLockingValueHolder() |
boolean |
isSerializedRemoteUnitOfWorkValueHolder() |
protected abstract java.lang.Object |
loadValue() |
void |
postInstantiate() |
void |
privilegedSetValue(java.lang.Object value) |
void |
releaseWrappedValueHolder(org.eclipse.persistence.internal.sessions.AbstractSession targetSession) |
protected void |
replaceLoadOptions(java.lang.Object entity,
io.jmix.core.metamodel.model.MetaProperty property) |
protected void |
replaceToExistingReferences(java.lang.Object entity,
io.jmix.core.metamodel.model.MetaProperty property,
java.lang.Object owner) |
void |
setBackupValueHolder(org.eclipse.persistence.indirection.ValueHolderInterface backupValueHolder) |
void |
setInstantiated() |
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 |
setUninstantiated() |
void |
setValue(java.lang.Object value) |
boolean |
shouldAllowInstantiationDeferral() |
getBackupValueHolder, getRelationshipSourceObject, getRemoteUnitOfWork, getSourceAttributeName, getSourceObject, getUnitOfWork, getValueFromServerObject, instantiate, instantiateImpl, resetFields, setMapping, setRelationshipSourceObject, setRemoteUnitOfWork, setSourceAttributeName, setSourceObject, setWrappedValueHolder, throwUnfetchedAttributeExceptionclone, isTransactionalValueHolder, toStringprotected transient org.springframework.beans.factory.BeanFactory beanFactory
public AbstractValueHolder(org.springframework.beans.factory.BeanFactory beanFactory,
org.eclipse.persistence.indirection.ValueHolderInterface originalValueHolder,
java.lang.Object owner,
io.jmix.core.metamodel.model.MetaProperty metaProperty)
public org.eclipse.persistence.indirection.ValueHolderInterface getWrappedValueHolder()
getWrappedValueHolder in interface org.eclipse.persistence.internal.indirection.WrappingValueHoldergetWrappedValueHolder in class org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolderpublic boolean isCoordinatedWithProperty()
isCoordinatedWithProperty in interface org.eclipse.persistence.indirection.WeavedAttributeValueHolderInterfaceisCoordinatedWithProperty in class org.eclipse.persistence.internal.indirection.DatabaseValueHolderpublic void setIsCoordinatedWithProperty(boolean coordinated)
setIsCoordinatedWithProperty in interface org.eclipse.persistence.indirection.WeavedAttributeValueHolderInterfacesetIsCoordinatedWithProperty in class org.eclipse.persistence.internal.indirection.DatabaseValueHolderpublic boolean isNewlyWeavedValueHolder()
isNewlyWeavedValueHolder in interface org.eclipse.persistence.indirection.WeavedAttributeValueHolderInterfaceisNewlyWeavedValueHolder in class org.eclipse.persistence.internal.indirection.DatabaseValueHolderpublic void setIsNewlyWeavedValueHolder(boolean isNew)
setIsNewlyWeavedValueHolder in interface org.eclipse.persistence.indirection.WeavedAttributeValueHolderInterfacesetIsNewlyWeavedValueHolder in class org.eclipse.persistence.internal.indirection.DatabaseValueHolderpublic boolean shouldAllowInstantiationDeferral()
shouldAllowInstantiationDeferral in interface org.eclipse.persistence.indirection.WeavedAttributeValueHolderInterfaceshouldAllowInstantiationDeferral in class org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolderpublic org.eclipse.persistence.mappings.DatabaseMapping getMapping()
getMapping in class org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolderpublic boolean isEasilyInstantiated()
isEasilyInstantiated in class org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolderpublic boolean isPessimisticLockingValueHolder()
isPessimisticLockingValueHolder in class org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolderpublic java.rmi.server.ObjID getWrappedValueHolderRemoteID()
getWrappedValueHolderRemoteID in class org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolderpublic boolean isSerializedRemoteUnitOfWorkValueHolder()
isSerializedRemoteUnitOfWorkValueHolder in class org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolderpublic java.lang.Object instantiateForUnitOfWorkValueHolder(org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder unitOfWorkValueHolder)
instantiateForUnitOfWorkValueHolder in class org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolderpublic void releaseWrappedValueHolder(org.eclipse.persistence.internal.sessions.AbstractSession targetSession)
releaseWrappedValueHolder in class org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolderpublic void setBackupValueHolder(org.eclipse.persistence.indirection.ValueHolderInterface backupValueHolder)
setBackupValueHolder in class org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolderpublic org.eclipse.persistence.internal.sessions.AbstractRecord getRow()
getRow in class org.eclipse.persistence.internal.indirection.DatabaseValueHolderpublic org.eclipse.persistence.internal.sessions.AbstractSession getSession()
getSession in class org.eclipse.persistence.internal.indirection.DatabaseValueHolderpublic java.lang.Object getValue(org.eclipse.persistence.internal.sessions.UnitOfWorkImpl uow)
getValue in class org.eclipse.persistence.internal.indirection.DatabaseValueHolderpublic void postInstantiate()
postInstantiate in class org.eclipse.persistence.internal.indirection.DatabaseValueHolderpublic void privilegedSetValue(java.lang.Object value)
privilegedSetValue in class org.eclipse.persistence.internal.indirection.DatabaseValueHolderpublic void setInstantiated()
setInstantiated in class org.eclipse.persistence.internal.indirection.DatabaseValueHolderpublic void setRow(org.eclipse.persistence.internal.sessions.AbstractRecord row)
setRow in class org.eclipse.persistence.internal.indirection.DatabaseValueHolderpublic void setSession(org.eclipse.persistence.internal.sessions.AbstractSession session)
setSession in class org.eclipse.persistence.internal.indirection.DatabaseValueHolderpublic void setUninstantiated()
setUninstantiated in class org.eclipse.persistence.internal.indirection.DatabaseValueHolderpublic java.lang.Object buildCloneFor(java.lang.Object originalAttributeValue)
buildCloneFor in class org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolderprotected java.lang.Object buildBackupCloneFor(java.lang.Object cloneAttributeValue)
buildBackupCloneFor in class org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolderpublic boolean isInstantiated()
isInstantiated in interface org.eclipse.persistence.indirection.ValueHolderInterfaceisInstantiated in class org.eclipse.persistence.internal.indirection.DatabaseValueHolderpublic java.lang.Object getValue()
getValue in interface org.eclipse.persistence.indirection.ValueHolderInterfacegetValue in class org.eclipse.persistence.internal.indirection.DatabaseValueHolderprotected abstract java.lang.Object loadValue()
protected abstract void afterLoadValue(java.lang.Object value)
public void setValue(java.lang.Object value)
setValue in interface org.eclipse.persistence.indirection.ValueHolderInterfacesetValue in class org.eclipse.persistence.internal.indirection.DatabaseValueHolderpublic void setLoadOptions(io.jmix.eclipselink.impl.lazyloading.LoadOptions loadOptions)
public io.jmix.eclipselink.impl.lazyloading.LoadOptions getLoadOptions()
public java.lang.Object getOwner()
public MetaPropertyInfo getPropertyInfo()
protected void replaceToExistingReferences(java.lang.Object entity,
io.jmix.core.metamodel.model.MetaProperty property,
java.lang.Object owner)
protected void replaceLoadOptions(java.lang.Object entity,
io.jmix.core.metamodel.model.MetaProperty property)
protected io.jmix.core.Metadata getMetadata()
protected io.jmix.core.MetadataTools getMetadataTools()
protected io.jmix.core.UnconstrainedDataManager getDataManager()
protected io.jmix.core.FetchPlans getFetchPlans()