org.eclipse.jpt.jpa.core.context.java
Interface JavaSingleRelationshipMapping

All Superinterfaces:
AttributeMapping, FetchableMapping, org.eclipse.core.runtime.IAdaptable, IResourcePart, JavaAttributeMapping, JavaJpaContextNode, JavaRelationshipMapping, JpaContextNode, JpaNode, Model, OptionalMapping, RelationshipMapping, SingleRelationshipMapping
All Known Subinterfaces:
JavaManyToOneMapping, JavaManyToOneMapping2_0, JavaOneToOneMapping, JavaOneToOneMapping2_0, JavaSingleRelationshipMapping2_0

public interface JavaSingleRelationshipMapping
extends SingleRelationshipMapping, JavaRelationshipMapping

Java single (m:1, 1:1) mapping

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.2

Field Summary
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.SingleRelationshipMapping
DEFAULT_FETCH_TYPE
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.OptionalMapping
DEFAULT_OPTIONAL, DEFAULT_OPTIONAL_PROPERTY, SPECIFIED_OPTIONAL_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaRelationshipMapping
FULLY_QUALIFIED_TARGET_ENTITY_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.RelationshipMapping
DEFAULT_TARGET_ENTITY_PROPERTY, SPECIFIED_TARGET_ENTITY_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.FetchableMapping
DEFAULT_FETCH_PROPERTY, SPECIFIED_FETCH_PROPERTY
 
Method Summary
 SingleRelationshipMappingAnnotation getMappingAnnotation()
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.OptionalMapping
getSpecifiedOptional, isDefaultOptional, isOptional, setSpecifiedOptional
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaRelationshipMapping
getAnnotationForUpdate, getCascade, getFullyQualifiedTargetEntity, getRelationship
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.RelationshipMapping
allTargetEntityAttributeNames, getDefaultTargetEntity, getRelationshipOwner, getResolvedTargetEntity, getSpecifiedTargetEntity, getTargetEntity, getTargetEntityEnclosingTypeSeparator, setSpecifiedTargetEntity
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.FetchableMapping
getDefaultFetch, getFetch, getSpecifiedFetch, setSpecifiedFetch
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaAttributeMapping
getParent, getPersistentAttribute, getResourcePersistentAttribute, updateDefault
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.java.JavaJpaContextNode
getValidationTextRange, javaCompletionProposals, validate
 

Method Detail

getMappingAnnotation

SingleRelationshipMappingAnnotation getMappingAnnotation()
Specified by:
getMappingAnnotation in interface JavaAttributeMapping
Specified by:
getMappingAnnotation in interface JavaRelationshipMapping