| Modifier and Type | Field and Description |
|---|---|
| protected ClassDescriptor | |
| protected DatabaseField |
| Access | Constructor and Description |
|---|---|
| public |
| descriptor | back to summary |
|---|---|
| protected ClassDescriptor descriptor | |
| field | back to summary |
|---|---|
| protected DatabaseField field | |
| AbstractSerializedObjectPolicy | back to summary |
|---|---|
| public AbstractSerializedObjectPolicy() | |
| clone | back to summary |
|---|---|
| public AbstractSerializedObjectPolicy clone() Overrides java. Implements org. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| getDescriptor | back to summary |
|---|---|
| public ClassDescriptor getDescriptor() Implements org. Doc from org. get owning descriptor
| |
| getField | back to summary |
|---|---|
| public DatabaseField getField() Implements org. Doc from org. get the field that stores sopObject in the database (sopField)
| |
| initializeField | back to summary |
|---|---|
| public void initializeField(AbstractSession session) Implements org. Doc from org. unless the field is already initialized by parent descriptor, add the field to the owning descriptor and set field's type
| |
| setDescriptor | back to summary |
|---|---|
| public void setDescriptor(ClassDescriptor descriptor) Implements org. Doc from org. set owning descriptor
| |
| setField | back to summary |
|---|---|
| public void setField(DatabaseField field) Implements org. Doc from org. set the field that stores sopObject in the database (sopField)
| |