Module org.eclipse.persistence.core
Package org.eclipse.persistence.mappings
Interface EmbeddableMapping
- All Known Implementing Classes:
AggregateCollectionMapping
,AggregateObjectMapping
public interface EmbeddableMapping
INTERNAL
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.
- Since:
- EclipseLink 1.2
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addConverter
(Converter converter, String attributeName) void
addFieldTranslation
(DatabaseField sourceFieldName, String aggregateFieldName) void
addNestedFieldTranslation
(String attributeName, DatabaseField sourceField, String aggregateField) void
void
-
Method Details
-
getAttributeName
String getAttributeName() -
addConverter
-
addOverrideManyToManyMapping
-
addOverrideUnidirectionalOneToManyMapping
-
addFieldTranslation
-
addNestedFieldTranslation
void addNestedFieldTranslation(String attributeName, DatabaseField sourceField, String aggregateField)
-