public interface Mapping<ABSTRACT_SESSION extends CoreAbstractSession,ATTRIBUTE_ACCESSOR extends CoreAttributeAccessor,CONTAINER_POLICY extends CoreContainerPolicy,DESCRIPTOR extends CoreDescriptor,FIELD extends CoreField,XML_RECORD extends XMLRecord>
Modifier and Type | Method and Description |
---|---|
void |
convertClassNamesToClasses(ClassLoader classLoader) |
ATTRIBUTE_ACCESSOR |
getAttributeAccessor() |
Class |
getAttributeClassification()
The classification type for the attribute this mapping represents
|
String |
getAttributeName()
Return the name of the attribute set in the mapping.
|
Object |
getAttributeValueFromObject(Object object) |
CONTAINER_POLICY |
getContainerPolicy() |
DESCRIPTOR |
getDescriptor()
Return the descriptor to which this mapping belongs
|
FIELD |
getField() |
DESCRIPTOR |
getReferenceDescriptor() |
boolean |
isAbstractCompositeCollectionMapping()
Related mapping should implement this method to return true.
|
boolean |
isAbstractCompositeDirectCollectionMapping()
Related mapping should implement this method to return true.
|
boolean |
isAbstractCompositeObjectMapping()
Related mapping should implement this method to return true.
|
boolean |
isAbstractDirectMapping()
Related mapping should implement this method to return true.
|
boolean |
isCollectionMapping() |
boolean |
isReadOnly() |
boolean |
isReferenceMapping() |
boolean |
isTransformationMapping()
Related mapping should implement this method to return true.
|
void |
setAttributeAccessor(ATTRIBUTE_ACCESSOR attributeAccessor)
ADVANCED:
Set the attributeAccessor.
|
void |
setAttributeName(String attributeName)
Sets the name of the attribute in the mapping.
|
void |
setAttributeValueInObject(Object object,
Object value) |
void |
setGetMethodName(String methodName)
This method is invoked reflectively on the reference object to return the value of the
attribute in the object.
|
void |
setIsReadOnly(boolean aBoolean)
Set this mapping to be read only.
|
void |
setProperties(Map properties)
INTERNAL:
Allow user defined properties.
|
void |
setSetMethodName(String methodName)
Set the methodName used to set the value for the mapping's attribute into the object.
|
void |
writeSingleValue(Object value,
Object object,
XML_RECORD record,
ABSTRACT_SESSION session) |
void convertClassNamesToClasses(ClassLoader classLoader)
ATTRIBUTE_ACCESSOR getAttributeAccessor()
Class getAttributeClassification()
String getAttributeName()
CONTAINER_POLICY getContainerPolicy()
DESCRIPTOR getDescriptor()
FIELD getField()
DESCRIPTOR getReferenceDescriptor()
boolean isAbstractCompositeCollectionMapping()
boolean isAbstractCompositeDirectCollectionMapping()
boolean isAbstractCompositeObjectMapping()
boolean isAbstractDirectMapping()
boolean isCollectionMapping()
boolean isReadOnly()
boolean isReferenceMapping()
boolean isTransformationMapping()
void setAttributeAccessor(ATTRIBUTE_ACCESSOR attributeAccessor)
void setAttributeName(String attributeName)
void writeSingleValue(Object value, Object object, XML_RECORD record, ABSTRACT_SESSION session)
void setGetMethodName(String methodName)
void setIsReadOnly(boolean aBoolean)
void setProperties(Map properties)
void setSetMethodName(String methodName)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference