Module org.eclipse.persistence.core
Class AbstractSerializedObjectPolicy
java.lang.Object
org.eclipse.persistence.internal.descriptors.AbstractSerializedObjectPolicy
- All Implemented Interfaces:
Serializable
,Cloneable
,SerializedObjectPolicy
- Direct Known Subclasses:
SerializedObjectPolicyWrapper
public abstract class AbstractSerializedObjectPolicy
extends Object
implements SerializedObjectPolicy
The base class for SerializedObjectPolicy.
- Since:
- EclipseLink 2.5.1
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
get owning descriptorgetField()
get the field that stores sopObject in the database (sopField)void
initializeField
(AbstractSession session) unless the field is already initialized by parent descriptor, add the field to the owning descriptor and set field's typevoid
setDescriptor
(ClassDescriptor descriptor) set owning descriptorvoid
setField
(DatabaseField field) set the field that stores sopObject in the database (sopField)Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.persistence.descriptors.SerializedObjectPolicy
getAllSelectionFields, getObjectFromRow, getSelectionFields, initialize, instantiateChild, postInitialize, putObjectIntoRow
-
Field Details
-
descriptor
-
field
-
-
Constructor Details
-
AbstractSerializedObjectPolicy
public AbstractSerializedObjectPolicy()
-
-
Method Details
-
getDescriptor
Description copied from interface:SerializedObjectPolicy
get owning descriptor- Specified by:
getDescriptor
in interfaceSerializedObjectPolicy
-
setDescriptor
Description copied from interface:SerializedObjectPolicy
set owning descriptor- Specified by:
setDescriptor
in interfaceSerializedObjectPolicy
-
getField
Description copied from interface:SerializedObjectPolicy
get the field that stores sopObject in the database (sopField)- Specified by:
getField
in interfaceSerializedObjectPolicy
-
setField
Description copied from interface:SerializedObjectPolicy
set the field that stores sopObject in the database (sopField)- Specified by:
setField
in interfaceSerializedObjectPolicy
-
initializeField
Description copied from interface:SerializedObjectPolicy
unless the field is already initialized by parent descriptor, add the field to the owning descriptor and set field's type- Specified by:
initializeField
in interfaceSerializedObjectPolicy
-
clone
- Specified by:
clone
in interfaceSerializedObjectPolicy
- Overrides:
clone
in classObject
-