Purpose: Provides a means to configure bidirectional relationship maintenance for OXM mappings. ant
| Modifier and Type | Field and Description |
|---|---|
| private AttributeAccessor | |
| private ContainerPolicy |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AttributeAccessor | getBidirectionalTargetAccessor()
Gets the AttributeAccessor that is used to get and set the value of the container on the target object. |
| public String | getBidirectionalTargetAttributeName()
Gets the name of the backpointer attribute on the target object. |
| public ContainerPolicy | |
| public String | getBidirectionalTargetGetMethodName()
Gets the name of the method to be used when accessing the value of the back pointer on the target object of this mapping. |
| public String | getBidirectionalTargetSetMethodName()
Gets the name of the method to be used when setting the value of the back pointer on the target object of this mapping. |
| public void | setBidirectionalTargetAccessor(AttributeAccessor
- the accessor to be used. anAttributeAccessor)Sets the AttributeAccessor that is used to get and set the value of the container on the target object. |
| public void | setBidirectionalTargetAttributeName(String
- the name of the backpointer attribute to be populated attributeName)Sets the name of the backpointer attribute on the target object. |
| public void | |
| public void | |
| public void | setBidirectionalTargetGetMethodName(String
- the getter method to be used. methodName)Sets the method name to be used when accessing the value of the back pointer on the target object of this mapping. |
| public void | setBidirectionalTargetSetMethodName(String
- the setter method to be used. methodName)Sets the name of the method to be used when setting the value of the back pointer on the target object of this mapping. |
| bidirectionalTargetAccessor | back to summary |
|---|---|
| private AttributeAccessor bidirectionalTargetAccessor | |
| bidirectionalTargetContainerPolicy | back to summary |
|---|---|
| private ContainerPolicy bidirectionalTargetContainerPolicy | |
| BidirectionalPolicy | back to summary |
|---|---|
| public BidirectionalPolicy() | |
| getBidirectionalTargetAccessor | back to summary |
|---|---|
| public AttributeAccessor getBidirectionalTargetAccessor() Gets the AttributeAccessor that is used to get and set the value of the container on the target object. | |
| getBidirectionalTargetAttributeName | back to summary |
|---|---|
| public String getBidirectionalTargetAttributeName() Gets the name of the backpointer attribute on the target object. Used to populate the backpointer. | |
| getBidirectionalTargetContainerPolicy | back to summary |
|---|---|
| public ContainerPolicy getBidirectionalTargetContainerPolicy() | |
| getBidirectionalTargetGetMethodName | back to summary |
|---|---|
| public String getBidirectionalTargetGetMethodName() Gets the name of the method to be used when accessing the value of the back pointer on the target object of this mapping. | |
| getBidirectionalTargetSetMethodName | back to summary |
|---|---|
| public String getBidirectionalTargetSetMethodName() Gets the name of the method to be used when setting the value of the back pointer on the target object of this mapping. | |
| setBidirectionalTargetAccessor | back to summary |
|---|---|
| public void setBidirectionalTargetAccessor(AttributeAccessor anAttributeAccessor) Sets the AttributeAccessor that is used to get and set the value of the container on the target object.
| |
| setBidirectionalTargetAttributeName | back to summary |
|---|---|
| public void setBidirectionalTargetAttributeName(String attributeName) Sets the name of the backpointer attribute on the target object. Used to populate the backpointer. If the specified attribute doesn't exist on the reference class of this mapping, a DescriptorException will be thrown during initialize.
| |
| setBidirectionalTargetContainerClass | back to summary |
|---|---|
| public void setBidirectionalTargetContainerClass(Class<?> cls) | |
| setBidirectionalTargetContainerPolicy | back to summary |
|---|---|
| public void setBidirectionalTargetContainerPolicy(ContainerPolicy cp) | |
| setBidirectionalTargetGetMethodName | back to summary |
|---|---|
| public void setBidirectionalTargetGetMethodName(String methodName) Sets the method name to be used when accessing the value of the back pointer on the target object of this mapping. If the specified method doesn't exist on the reference class of this mapping, a DescriptorException will be thrown during initialize.
| |
| setBidirectionalTargetSetMethodName | back to summary |
|---|---|
| public void setBidirectionalTargetSetMethodName(String methodName) Sets the name of the method to be used when setting the value of the back pointer on the target object of this mapping. If the specified method doesn't exist on the reference class of this mapping, a DescriptorException will be thrown during initialize.
| |