| Access | Constructor and Description |
|---|---|
| protected | |
| protected | UnitOfWorkQueryValueHolder(ValueHolderInterface<T> attributeValue, Object clone, DatabaseMapping mapping, UnitOfWorkImpl unitOfWork)
|
| public | UnitOfWorkQueryValueHolder(ValueHolderInterface<T> attributeValue, Object clone, ForeignReferenceMapping mapping, AbstractRecord row, UnitOfWorkImpl unitOfWork)
|
| Modifier and Type | Method and Description |
|---|---|
| protected Object | buildBackupCloneFor(Object cloneAttributeValue)
Implements abstract org. |
| public T | buildCloneFor(Object originalAttributeValue)
Implements abstract org. |
| private ForeignReferenceMapping | getRelationshipPartnerFor(Object partnerObject)
Helper method to retrieve the relationship partner mapping. |
| public void | setValue(T theValue)
Overrides org. Implements org. |
| public void | updateForeignReferenceRemove(Object value)
INTERNAL: Here we now must check for bi-directional relationship. |
| public void | updateForeignReferenceSet(Object value, Object oldValue)
INTERNAL: Here we now must check for bi-directional relationship. |
| UnitOfWorkQueryValueHolder | back to summary |
|---|---|
| protected UnitOfWorkQueryValueHolder() | |
| UnitOfWorkQueryValueHolder | back to summary |
|---|---|
| protected UnitOfWorkQueryValueHolder(ValueHolderInterface<T> attributeValue, Object clone, DatabaseMapping mapping, UnitOfWorkImpl unitOfWork) | |
| UnitOfWorkQueryValueHolder | back to summary |
|---|---|
| public UnitOfWorkQueryValueHolder(ValueHolderInterface<T> attributeValue, Object clone, ForeignReferenceMapping mapping, AbstractRecord row, UnitOfWorkImpl unitOfWork) | |
| buildBackupCloneFor | back to summary |
|---|---|
| protected Object buildBackupCloneFor(Object cloneAttributeValue) Implements abstract org. Backup the clone attribute value.
| |
| buildCloneFor | back to summary |
|---|---|
| public T buildCloneFor(Object originalAttributeValue) Implements abstract org. Clone the original attribute value.
| |
| getRelationshipPartnerFor | back to summary |
|---|---|
| private ForeignReferenceMapping getRelationshipPartnerFor(Object partnerObject) Helper method to retrieve the relationship partner mapping. This will take inheritance into account and return the mapping associated with correct subclass if necessary. This is needed for EJB 2.0 inheritance | |
| setValue | back to summary |
|---|---|
| public void setValue(T theValue) Overrides org. Implements org. Ensure that the backup value holder is populated.
| |
| updateForeignReferenceRemove | back to summary |
|---|---|
| public void updateForeignReferenceRemove(Object value) INTERNAL: Here we now must check for bi-directional relationship. If the mapping has a relationship partner then we must maintain the original relationship. We only worry about ObjectReferenceMappings as the collections mappings will be handled by transparentIndirection | |
| updateForeignReferenceSet | back to summary |
|---|---|
| public void updateForeignReferenceSet(Object value, Object oldValue) INTERNAL: Here we now must check for bi-directional relationship. If the mapping has a relationship partner then we must maintain the original relationship. We only worry about ObjectReferenceMappings as the collections mappings will be handled by transparentIndirection | |