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(java.lang.ClassLoader classLoader) |
ATTRIBUTE_ACCESSOR |
getAttributeAccessor() |
java.lang.Class |
getAttributeClassification()
The classification type for the attribute this mapping represents
|
java.lang.String |
getAttributeName()
Return the name of the attribute set in the mapping.
|
java.lang.Object |
getAttributeValueFromObject(java.lang.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(java.lang.String attributeName)
Sets the name of the attribute in the mapping.
|
void |
setAttributeValueInObject(java.lang.Object object,
java.lang.Object value) |
void |
setGetMethodName(java.lang.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(java.util.Map properties)
INTERNAL:
Allow user defined properties.
|
void |
setSetMethodName(java.lang.String methodName)
Set the methodName used to set the value for the mapping's attribute into the object.
|
void |
writeSingleValue(java.lang.Object value,
java.lang.Object object,
XML_RECORD record,
ABSTRACT_SESSION session) |
void convertClassNamesToClasses(java.lang.ClassLoader classLoader)
ATTRIBUTE_ACCESSOR getAttributeAccessor()
java.lang.Class getAttributeClassification()
java.lang.String getAttributeName()
java.lang.Object getAttributeValueFromObject(java.lang.Object object)
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(java.lang.String attributeName)
void setAttributeValueInObject(java.lang.Object object, java.lang.Object value)
void writeSingleValue(java.lang.Object value, java.lang.Object object, XML_RECORD record, ABSTRACT_SESSION session)
void setGetMethodName(java.lang.String methodName)
void setIsReadOnly(boolean aBoolean)
void setProperties(java.util.Map properties)
void setSetMethodName(java.lang.String methodName)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference