Module org.eclipse.persistence.core
Interface ValueHolderInterface<T>
- All Superinterfaces:
Cloneable
- All Known Subinterfaces:
WeavedAttributeValueHolderInterface<T>
- All Known Implementing Classes:
BackupValueHolder
,BatchValueHolder
,CacheBasedValueHolder
,DatabaseValueHolder
,EISOneToManyQueryBasedValueHolder
,ProtectedValueHolder
,QueryBasedValueHolder
,RemoteValueHolder
,TransformerBasedValueHolder
,UnitOfWorkQueryValueHolder
,UnitOfWorkTransformerValueHolder
,UnitOfWorkValueHolder
,ValueHolder
Purpose: Interface to allow lazy loading of an object's relationships from the database.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
Can be used to have transparent indirection toString instantiate the objects. -
Method Summary
-
Field Details
-
shouldToStringInstantiate
static final boolean shouldToStringInstantiateCan be used to have transparent indirection toString instantiate the objects.- See Also:
-
-
Method Details
-
clone
Object clone()PUBLIC: Copy the value holder (but not its' reference, shallow). -
getValue
T getValue()PUBLIC: Return the value. -
isInstantiated
boolean isInstantiated()PUBLIC: Return whether the contents have been read from the database. This is used periodically by the indirection policy to determine whether to trigger the database read. -
setValue
PUBLIC: Set the value.
-