EclipseLink 2.3.2, build 'v20111125-r10461' API Reference

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.

Author:
Guy Pelletier
Since:
EclipseLink 1.2

Method Summary
 void addFieldTranslation(org.eclipse.persistence.internal.helper.DatabaseField sourceFieldName, java.lang.String aggregateFieldName)
           
 void addNestedFieldTranslation(java.lang.String attributeName, org.eclipse.persistence.internal.helper.DatabaseField sourceField, java.lang.String aggregateField)
           
 void addOverrideManyToManyMapping(ManyToManyMapping mapping)
           
 void addOverrideUnidirectionalOneToManyMapping(UnidirectionalOneToManyMapping mapping)
           
 java.lang.String getAttributeName()
           
 

Method Detail

getAttributeName

java.lang.String getAttributeName()

addOverrideManyToManyMapping

void addOverrideManyToManyMapping(ManyToManyMapping mapping)

addOverrideUnidirectionalOneToManyMapping

void addOverrideUnidirectionalOneToManyMapping(UnidirectionalOneToManyMapping mapping)

addFieldTranslation

void addFieldTranslation(org.eclipse.persistence.internal.helper.DatabaseField sourceFieldName,
                         java.lang.String aggregateFieldName)

addNestedFieldTranslation

void addNestedFieldTranslation(java.lang.String attributeName,
                               org.eclipse.persistence.internal.helper.DatabaseField sourceField,
                               java.lang.String aggregateField)

EclipseLink 2.3.2, build 'v20111125-r10461' API Reference