|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.oxm.mappings.BidirectionalPolicy
public class BidirectionalPolicy
Purpose: Provides a means to configure bidirectional relationship maintenance for OXM mappings. ant
Constructor Summary | |
---|---|
BidirectionalPolicy()
|
Method Summary | |
---|---|
AttributeAccessor |
getBidirectionalTargetAccessor()
Gets the AttributeAccessor that is used to get and set the value of the container on the target object. |
java.lang.String |
getBidirectionalTargetAttributeName()
Gets the name of the backpointer attribute on the target object. |
org.eclipse.persistence.internal.queries.ContainerPolicy |
getBidirectionalTargetContainerPolicy()
|
java.lang.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. |
java.lang.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. |
void |
setBidirectionalTargetAccessor(AttributeAccessor anAttributeAccessor)
Sets the AttributeAccessor that is used to get and set the value of the container on the target object. |
void |
setBidirectionalTargetAttributeName(java.lang.String attributeName)
Sets the name of the backpointer attribute on the target object. |
void |
setBidirectionalTargetContainerClass(java.lang.Class cls)
|
void |
setBidirectionalTargetContainerPolicy(org.eclipse.persistence.internal.queries.ContainerPolicy cp)
|
void |
setBidirectionalTargetGetMethodName(java.lang.String methodName)
Sets the method name to be used when accessing the value of the back pointer on the target object of this mapping. |
void |
setBidirectionalTargetSetMethodName(java.lang.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BidirectionalPolicy()
Method Detail |
---|
public void setBidirectionalTargetAccessor(AttributeAccessor anAttributeAccessor)
anAttributeAccessor
- - the accessor to be used.public void setBidirectionalTargetAttributeName(java.lang.String attributeName)
attributeName
- - the name of the backpointer attribute to be populatedpublic java.lang.String getBidirectionalTargetAttributeName()
public void setBidirectionalTargetGetMethodName(java.lang.String methodName)
methodName
- - the getter method to be used.public void setBidirectionalTargetSetMethodName(java.lang.String methodName)
methodName
- - the setter method to be used.public java.lang.String getBidirectionalTargetGetMethodName()
public java.lang.String getBidirectionalTargetSetMethodName()
public org.eclipse.persistence.internal.queries.ContainerPolicy getBidirectionalTargetContainerPolicy()
public void setBidirectionalTargetContainerPolicy(org.eclipse.persistence.internal.queries.ContainerPolicy cp)
public void setBidirectionalTargetContainerClass(java.lang.Class cls)
public AttributeAccessor getBidirectionalTargetAccessor()
|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |