public class SerializedObjectPolicyWrapper extends AbstractSerializedObjectPolicy
| Constructor and Description |
|---|
SerializedObjectPolicyWrapper(java.lang.String serializedObjectPolicyClassName) |
| Modifier and Type | Method and Description |
|---|---|
SerializedObjectPolicyWrapper |
clone() |
java.util.List<DatabaseField> |
getAllSelectionFields()
Lists the database fields that should be read by the query using the policy, in case all inherited objects are read using outer joining.
|
java.lang.Object |
getObjectFromRow(AbstractRecord databaseRow,
AbstractSession session,
ObjectLevelReadQuery query)
Deserialize the object from the value corresponding to the policy field, nullify that value, set the object into the row using setSopObject, also return it.
|
java.util.List<DatabaseField> |
getSelectionFields()
Lists the database fields that should be read by the query using the policy.
|
java.lang.String |
getSerializedObjectPolicyClassName() |
void |
initialize(AbstractSession session)
initialize the policy
|
void |
initializeField(AbstractSession session)
unless the field is already initialized by parent descriptor, add the field to the owning descriptor and set field's type
|
SerializedObjectPolicy |
instantiateChild()
instantiate policy for child descriptor
|
void |
postInitialize(AbstractSession session)
postinitialize the policy: determine which mappings are included, which fields should be selected
|
void |
putObjectIntoRow(AbstractRecord databaseRow,
java.lang.Object object,
AbstractSession session)
Serialize the object and put the result into the row as a value corresponding to the policy field
|
getDescriptor, getField, setDescriptor, setFieldpublic SerializedObjectPolicyWrapper(java.lang.String serializedObjectPolicyClassName)
public java.lang.String getSerializedObjectPolicyClassName()
public SerializedObjectPolicyWrapper clone()
clone in interface SerializedObjectPolicyclone in class AbstractSerializedObjectPolicypublic SerializedObjectPolicy instantiateChild()
SerializedObjectPolicypublic void initializeField(AbstractSession session)
SerializedObjectPolicyinitializeField in interface SerializedObjectPolicyinitializeField in class AbstractSerializedObjectPolicypublic void initialize(AbstractSession session)
SerializedObjectPolicypublic void postInitialize(AbstractSession session)
SerializedObjectPolicypublic void putObjectIntoRow(AbstractRecord databaseRow, java.lang.Object object, AbstractSession session)
SerializedObjectPolicypublic java.lang.Object getObjectFromRow(AbstractRecord databaseRow, AbstractSession session, ObjectLevelReadQuery query)
SerializedObjectPolicypublic java.util.List<DatabaseField> getSelectionFields()
SerializedObjectPolicypublic java.util.List<DatabaseField> getAllSelectionFields()
SerializedObjectPolicyEclipseLink 2.6.3, "build v20160428-59c81c5" API Reference