| Modifier and Type | Field and Description |
|---|---|
| protected Converter | converter
Allows user defined conversion between the object attribute value and the database value. |
| protected DatabaseField | field
The aggregate object is stored in a single field. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract Object | buildCompositeObject(ObjectBuilder objectBuilder, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManger, AbstractSession targetSession)
|
| protected abstract Object | buildCompositeRow(Object attributeValue, AbstractSession session, AbstractRecord record, DatabaseMapping.
|
| public Expression | buildExpression(Object
TODO queryObject, QueryByExamplePolicy TODO policy, Expression TODO expressionBuilder, Map<K, V> TODO processedObjects, AbstractSession TODO session)Overrides org. |
| public void | buildShallowOriginalFromRow(AbstractRecord
TODO row, Object TODO original, JoinedAttributeManager TODO joinManager, ObjectBuildingQuery TODO sourceQuery, AbstractSession TODO executionSession)Overrides org. |
| public void | cascadeDiscoverAndPersistUnregisteredNewObjects(Object
TODO object, Map<K, V> TODO newObjects, Map<K, V> TODO unregisteredExistingObjects, Map<K, V> TODO visitedObjects, UnitOfWorkImpl TODO uow, Set<E> TODO cascadeErrors)Overrides org. |
| public void | cascadePerformRemoveIfRequired(Object
TODO object, UnitOfWorkImpl TODO uow, Map<K, V> TODO visitedObjects)Implements abstract org. |
| public void | cascadeRegisterNewIfRequired(Object
TODO object, UnitOfWorkImpl TODO uow, Map<K, V> TODO visitedObjects)Implements abstract org. |
| protected Vector | collectFields()
Overrides org. |
| public Converter | |
| public DatabaseField | getField()
Overrides org. |
| public boolean | |
| public void | initialize(AbstractSession session)
Overrides org. |
| public boolean | |
| public void | setAttributeValueInObject(Object
TODO object, Object TODO value)Overrides org. |
| public void | |
| public void | |
| public Object | valueFromObject(Object
TODO object, DatabaseField TODO field, AbstractSession TODO session)Overrides org. |
| public Object | valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)
Overrides org. |
| public void | writeFromObjectIntoRow(Object object, AbstractRecord record, AbstractSession session, DatabaseMapping.
Overrides org. |
| public void | writeFromObjectIntoRowForUpdate(WriteObjectQuery query, AbstractRecord row)
Overrides org. |
| public void | writeFromObjectIntoRowWithChangeRecord(ChangeRecord changeRecord, AbstractRecord row, AbstractSession session, DatabaseMapping.
Overrides org. |
| public void | writeInsertFieldsIntoRow(AbstractRecord record, AbstractSession session)
Overrides org. |
| converter | back to summary |
|---|---|
| protected Converter converter Allows user defined conversion between the object attribute value and the database value. | |
| field | back to summary |
|---|---|
| protected DatabaseField field The aggregate object is stored in a single field. | |
| AbstractCompositeObjectMapping | back to summary |
|---|---|
| protected AbstractCompositeObjectMapping() Default constructor. | |
| buildCompositeObject | back to summary |
|---|---|
| protected abstract Object buildCompositeObject(ObjectBuilder objectBuilder, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManger, AbstractSession targetSession) | |
| buildCompositeRow | back to summary |
|---|---|
| protected abstract Object buildCompositeRow(Object attributeValue, AbstractSession session, AbstractRecord record, DatabaseMapping. | |
| cascadePerformRemoveIfRequired | back to summary |
|---|---|
| public void cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map<K, V> visitedObjects) Implements abstract org. INTERNAL: Cascade perform delete through mappings that require the cascade
| |
| cascadeRegisterNewIfRequired | back to summary |
|---|---|
| public void cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map<K, V> visitedObjects) Implements abstract org. INTERNAL: Cascade registerNew for Create through mappings that require the cascade
| |
| collectFields | back to summary |
|---|---|
| protected Vector Overrides org. Return the fields mapped by the mapping.
| |
| getConverter | back to summary |
|---|---|
| public Converter getConverter() PUBLIC: Return the converter on the mapping. A converter can be used to convert between the object's value and database value of the attribute. | |
| getField | back to summary |
|---|---|
| public DatabaseField getField() Overrides org. INTERNAL: The aggregate object is held in a single field.
| |
| hasConverter | back to summary |
|---|---|
| public boolean hasConverter() PUBLIC: Indicates if there is a converter on the mapping. | |
| initialize | back to summary |
|---|---|
| public void initialize(AbstractSession session) throws DescriptorException Overrides org. INTERNAL: Initialize the mapping.
| |
| isAbstractCompositeObjectMapping | back to summary |
|---|---|
| public boolean isAbstractCompositeObjectMapping() Overrides org. INTERNAL:
| |
| setAttributeValueInObject | back to summary |
|---|---|
| public void setAttributeValueInObject(Object object, Object value) throws DescriptorException Overrides org. INTERNAL: Set the value of the attribute mapped by this mapping.
| |
| setConverter | back to summary |
|---|---|
| public void setConverter(Converter converter) PUBLIC: Set the converter on the mapping. A converter can be used to convert between the object's value and database value of the attribute. | |
| setField | back to summary |
|---|---|
| public void setField(DatabaseField field) The aggregate object is held in a single field. | |
| valueFromObject | back to summary |
|---|---|
| public Object valueFromObject(Object object, DatabaseField field, AbstractSession session) throws DescriptorException Overrides org. INTERNAL: Extract and return value of the field from the object
| |
| valueFromRow | back to summary |
|---|---|
| public Object valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) throws DatabaseException Overrides org. INTERNAL: Extract and return the aggregate object from the specified row.
| |
| writeFromObjectIntoRow | back to summary |
|---|---|
| public void writeFromObjectIntoRow(Object object, AbstractRecord record, AbstractSession session, DatabaseMapping. Overrides org. INTERNAL: Build the value for the database field and put it in the specified database row.
| |
| writeFromObjectIntoRowForUpdate | back to summary |
|---|---|
| public void writeFromObjectIntoRowForUpdate(WriteObjectQuery query, AbstractRecord row) throws DescriptorException Overrides org. INTERNAL: If it has changed, build the value for the database field and put it in the specified database row. If any part of the aggregate object has changed, the entire object is written to the database row (i.e. partial updates are not supported).
| |
| writeFromObjectIntoRowWithChangeRecord | back to summary |
|---|---|
| public void writeFromObjectIntoRowWithChangeRecord(ChangeRecord changeRecord, AbstractRecord row, AbstractSession session, DatabaseMapping. Overrides org. INTERNAL: Get the attribute value from the object and add the appropriate values to the specified database row.
| |
| writeInsertFieldsIntoRow | back to summary |
|---|---|
| public void writeInsertFieldsIntoRow(AbstractRecord record, AbstractSession session) Overrides org. INTERNAL: Write fields needed for insert into the template for with null values.
| |