org.eclipse.jpt.core.context.java
Interface JavaOneToManyMapping

All Superinterfaces:
AttributeMapping, Fetchable, org.eclipse.core.runtime.IAdaptable, IResourcePart, JavaAttributeMapping, JavaJpaContextNode, JavaMultiRelationshipMapping, JavaRelationshipMapping, JpaContextNode, JpaNode, Model, MultiRelationshipMapping, OneToManyMapping, RelationshipMapping

public interface JavaOneToManyMapping
extends JavaMultiRelationshipMapping, OneToManyMapping

The java representation of a OneToManyMapping Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.


Field Summary
 
Fields inherited from interface org.eclipse.jpt.core.context.RelationshipMapping
DEFAULT_TARGET_ENTITY_PROPERTY, RESOLVED_TARGET_ENTITY_PROPERTY, SPECIFIED_TARGET_ENTITY_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.Fetchable
DEFAULT_FETCH_PROPERTY, SPECIFIED_FETCH_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.MultiRelationshipMapping
CUSTOM_ORDERING_PROPERTY, DEFAULT_FETCH_TYPE, MAP_KEY_PROPERTY, NO_ORDERING_PROPERTY, ORDER_BY_PROPERTY, PK_ORDERING_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.RelationshipMapping
DEFAULT_TARGET_ENTITY_PROPERTY, RESOLVED_TARGET_ENTITY_PROPERTY, SPECIFIED_TARGET_ENTITY_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.Fetchable
DEFAULT_FETCH_PROPERTY, SPECIFIED_FETCH_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.MultiRelationshipMapping
CUSTOM_ORDERING_PROPERTY, DEFAULT_FETCH_TYPE, MAP_KEY_PROPERTY, NO_ORDERING_PROPERTY, ORDER_BY_PROPERTY, PK_ORDERING_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.RelationshipMapping
DEFAULT_TARGET_ENTITY_PROPERTY, RESOLVED_TARGET_ENTITY_PROPERTY, SPECIFIED_TARGET_ENTITY_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.Fetchable
DEFAULT_FETCH_PROPERTY, SPECIFIED_FETCH_PROPERTY
 
Method Summary
 OneToManyAnnotation getMappingAnnotation()
           
 JavaOneToManyRelationshipReference getRelationshipReference()
          Return the meta-information used to populate the entities of the relationship
 
Methods inherited from interface org.eclipse.jpt.core.context.java.JavaAttributeMapping
getAnnotationName, getPersistentAttribute, initialize, supportingAnnotationNames, update
 
Methods inherited from interface org.eclipse.jpt.core.context.java.JavaJpaContextNode
getValidationTextRange, javaCompletionProposals, validate
 
Methods inherited from interface org.eclipse.jpt.core.context.RelationshipMapping
allTargetEntityAttributeNames, getCascade, getDefaultTargetEntity, getEntity, getJoinTableDefaultName, getResolvedTargetEntity, getSpecifiedTargetEntity, getTargetEntity, getTargetEntityEnclosingTypeSeparator, isRelationshipOwner, setSpecifiedTargetEntity
 
Methods inherited from interface org.eclipse.jpt.core.context.Fetchable
getDefaultFetch, getFetch, getSpecifiedFetch, setSpecifiedFetch
 
Methods inherited from interface org.eclipse.jpt.core.context.MultiRelationshipMapping
candidateMapKeyNames, getMapKey, getOrderBy, isCustomOrdering, isNoOrdering, isPkOrdering, setCustomOrdering, setMapKey, setNoOrdering, setOrderBy, setPkOrdering
 
Methods inherited from interface org.eclipse.jpt.core.context.RelationshipMapping
allTargetEntityAttributeNames, getCascade, getDefaultTargetEntity, getEntity, getJoinTableDefaultName, getResolvedTargetEntity, getSpecifiedTargetEntity, getTargetEntity, getTargetEntityEnclosingTypeSeparator, isRelationshipOwner, setSpecifiedTargetEntity
 
Methods inherited from interface org.eclipse.jpt.core.context.Fetchable
getDefaultFetch, getFetch, getSpecifiedFetch, setSpecifiedFetch
 
Methods inherited from interface org.eclipse.jpt.core.context.MultiRelationshipMapping
candidateMapKeyNames, getMapKey, getOrderBy, isCustomOrdering, isNoOrdering, isPkOrdering, setCustomOrdering, setMapKey, setNoOrdering, setOrderBy, setPkOrdering
 
Methods inherited from interface org.eclipse.jpt.core.context.RelationshipMapping
allTargetEntityAttributeNames, getCascade, getDefaultTargetEntity, getEntity, getJoinTableDefaultName, getResolvedTargetEntity, getSpecifiedTargetEntity, getTargetEntity, getTargetEntityEnclosingTypeSeparator, isRelationshipOwner, setSpecifiedTargetEntity
 
Methods inherited from interface org.eclipse.jpt.core.context.Fetchable
getDefaultFetch, getFetch, getSpecifiedFetch, setSpecifiedFetch
 

Method Detail

getMappingAnnotation

OneToManyAnnotation getMappingAnnotation()
Specified by:
getMappingAnnotation in interface JavaAttributeMapping

getRelationshipReference

JavaOneToManyRelationshipReference getRelationshipReference()
Description copied from interface: RelationshipMapping
Return the meta-information used to populate the entities of the relationship

Specified by:
getRelationshipReference in interface OneToManyMapping
Specified by:
getRelationshipReference in interface RelationshipMapping