public interface ObjectReferenceMapping<ABSTRACT_SESSION extends CoreAbstractSession,ATTRIBUTE_ACCESSOR extends CoreAttributeAccessor,CONTAINER_POLICY extends CoreContainerPolicy,DESCRIPTOR extends CoreDescriptor,FIELD extends CoreField,UNMARSHAL_RECORD extends UnmarshalRecord,XML_FIELD extends Field,XML_RECORD extends XMLRecord> extends Mapping<ABSTRACT_SESSION,ATTRIBUTE_ACCESSOR,CONTAINER_POLICY,DESCRIPTOR,FIELD,XML_RECORD>
Modifier and Type | Method and Description |
---|---|
void |
addSourceToTargetKeyFieldAssociation(String srcXPath,
String tgtXPath)
Add a source-target xpath pair to the map.
|
Object |
buildFieldValue(Object targetObject,
XML_FIELD xmlField,
ABSTRACT_SESSION session) |
void |
buildReference(UNMARSHAL_RECORD unmarshalRecord,
XML_FIELD xmlField,
Object realValue,
ABSTRACT_SESSION session) |
List<FIELD> |
getFields() |
InverseReferenceMapping |
getInverseReferenceMapping() |
Class |
getReferenceClass() |
String |
getReferenceClassName()
INTERNAL:
|
Map |
getSourceToTargetKeyFieldAssociations()
Return a list of source-target xmlfield pairs.
|
boolean |
isWriteOnly() |
void |
setIsWriteOnly(boolean b) |
void |
setReferenceClassName(String aClassName) |
convertClassNamesToClasses, getAttributeAccessor, getAttributeClassification, getAttributeName, getAttributeValueFromObject, getContainerPolicy, getDescriptor, getField, getReferenceDescriptor, isAbstractCompositeCollectionMapping, isAbstractCompositeDirectCollectionMapping, isAbstractCompositeObjectMapping, isAbstractDirectMapping, isCollectionMapping, isReadOnly, isReferenceMapping, isTransformationMapping, setAttributeAccessor, setAttributeName, setAttributeValueInObject, setGetMethodName, setIsReadOnly, setProperties, setSetMethodName, writeSingleValue
void addSourceToTargetKeyFieldAssociation(String srcXPath, String tgtXPath)
srcXPath
- tgtXPath
- Object buildFieldValue(Object targetObject, XML_FIELD xmlField, ABSTRACT_SESSION session)
void buildReference(UNMARSHAL_RECORD unmarshalRecord, XML_FIELD xmlField, Object realValue, ABSTRACT_SESSION session)
InverseReferenceMapping getInverseReferenceMapping()
Class getReferenceClass()
String getReferenceClassName()
Map getSourceToTargetKeyFieldAssociations()
boolean isWriteOnly()
void setIsWriteOnly(boolean b)
void setReferenceClassName(String aClassName)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference