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

All Superinterfaces:
AttributeMapping, Fetchable, org.eclipse.core.runtime.IAdaptable, IResourcePart, JavaAttributeMapping, JavaJpaContextNode, JavaRelationshipMapping, JavaSingleRelationshipMapping, JpaContextNode, JpaNode, Model, Nullable, OneToOneMapping, RelationshipMapping, SingleRelationshipMapping

public interface JavaOneToOneMapping
extends JavaSingleRelationshipMapping, OneToOneMapping

The java representation of a OneToOneMapping 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.SingleRelationshipMapping
DEFAULT_FETCH_TYPE
 
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.Nullable
DEFAULT_OPTIONAL, DEFAULT_OPTIONAL_PROPERTY, SPECIFIED_OPTIONAL_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.SingleRelationshipMapping
DEFAULT_FETCH_TYPE
 
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.Nullable
DEFAULT_OPTIONAL, DEFAULT_OPTIONAL_PROPERTY, SPECIFIED_OPTIONAL_PROPERTY
 
Method Summary
 OneToOneAnnotation getMappingAnnotation()
           
 JavaOneToOneRelationshipReference getRelationshipReference()
          covariant override
 
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.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.Nullable
getSpecifiedOptional, isDefaultOptional, isOptional, setSpecifiedOptional
 
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.Nullable
getSpecifiedOptional, isDefaultOptional, isOptional, setSpecifiedOptional
 

Method Detail

getMappingAnnotation

OneToOneAnnotation getMappingAnnotation()
Specified by:
getMappingAnnotation in interface JavaAttributeMapping

getRelationshipReference

JavaOneToOneRelationshipReference getRelationshipReference()
Description copied from interface: OneToOneMapping
covariant override

Specified by:
getRelationshipReference in interface OneToOneMapping
Specified by:
getRelationshipReference in interface RelationshipMapping