-
- All Known Implementing Classes:
AggregateCollectionMapping,AggregateObjectMapping
public interface EmbeddableMappingINTERNAL Common interface to those mappings that are used to map JPA Embedded objects. - ElementCollection -> AggregateCollectionMapping - Embedded -> AggregateObjectMapping This interface was build to ease the metadata processing, namely to avoid costly casting between the mappings above since their common parent is DatabaseMapping.- Author:
- Guy Pelletier
- Since:
- EclipseLink 1.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddConverter(Converter converter, String attributeName)voidaddFieldTranslation(org.eclipse.persistence.internal.helper.DatabaseField sourceFieldName, String aggregateFieldName)voidaddNestedFieldTranslation(String attributeName, org.eclipse.persistence.internal.helper.DatabaseField sourceField, String aggregateField)voidaddOverrideManyToManyMapping(ManyToManyMapping mapping)voidaddOverrideUnidirectionalOneToManyMapping(UnidirectionalOneToManyMapping mapping)StringgetAttributeName()
-
-
-
Method Detail
-
getAttributeName
String getAttributeName()
-
addOverrideManyToManyMapping
void addOverrideManyToManyMapping(ManyToManyMapping mapping)
-
addOverrideUnidirectionalOneToManyMapping
void addOverrideUnidirectionalOneToManyMapping(UnidirectionalOneToManyMapping mapping)
-
addFieldTranslation
void addFieldTranslation(org.eclipse.persistence.internal.helper.DatabaseField sourceFieldName, String aggregateFieldName)
-
-