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

All Superinterfaces:
AttributeMapping, Fetchable, org.eclipse.core.runtime.IAdaptable, IResourcePart, JavaAttributeMapping, JavaJpaContextNode, JpaContextNode, JpaNode, Model, RelationshipMapping
All Known Subinterfaces:
JavaManyToManyMapping, JavaManyToManyMapping2_0, JavaManyToOneMapping, JavaManyToOneMapping2_0, JavaMultiRelationshipMapping, JavaOneToManyMapping, JavaOneToManyMapping2_0, JavaOneToOneMapping, JavaOneToOneMapping2_0, JavaRelationshipMapping2_0, JavaSingleRelationshipMapping, JavaSingleRelationshipMapping2_0

public interface JavaRelationshipMapping
extends JavaAttributeMapping, RelationshipMapping

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.

Since:
2.0
Version:
2.3

Field Summary
static java.lang.String FULLY_QUALIFIED_TARGET_ENTITY_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
 JavaCascade getCascade()
           
 java.lang.String getFullyQualifiedTargetEntity()
          If the target entity is specified, this will return it fully qualified.
 RelationshipMappingAnnotation getMappingAnnotation()
           
 
Methods inherited from interface org.eclipse.jpt.core.context.java.JavaAttributeMapping
getAnnotationName, getPersistentAttribute, getSupportingAnnotationNames, initialize, 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, getDefaultTargetEntity, getRelationshipOwner, getRelationshipReference, getResolvedTargetEntity, getSpecifiedTargetEntity, getTargetEntity, getTargetEntityEnclosingTypeSeparator, setSpecifiedTargetEntity
 
Methods inherited from interface org.eclipse.jpt.core.context.Fetchable
getDefaultFetch, getFetch, getSpecifiedFetch, setSpecifiedFetch
 

Field Detail

FULLY_QUALIFIED_TARGET_ENTITY_PROPERTY

static final java.lang.String FULLY_QUALIFIED_TARGET_ENTITY_PROPERTY
See Also:
Constant Field Values
Method Detail

getMappingAnnotation

RelationshipMappingAnnotation getMappingAnnotation()
Specified by:
getMappingAnnotation in interface JavaAttributeMapping

getCascade

JavaCascade getCascade()
Specified by:
getCascade in interface RelationshipMapping

getFullyQualifiedTargetEntity

java.lang.String getFullyQualifiedTargetEntity()
If the target entity is specified, this will return it fully qualified. If not specified, it returns the default target entity, which is always fully qualified