Dali Provisional API
Release 3.2

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

All Superinterfaces:
AttributeMapping, FetchableMapping, IAdaptable, JavaAttributeMapping, JavaRelationshipMapping, JavaSingleRelationshipMapping, JpaContextModel, JpaModel, JptResourceTypeReference, ManyToOneMapping, Model, OptionalMapping, RelationshipMapping, SingleRelationshipMapping

public interface JavaManyToOneMapping
extends ManyToOneMapping, JavaSingleRelationshipMapping

Java m: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

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.RelationshipMapping
DEFAULT_TARGET_ENTITY_PROPERTY, FULLY_QUALIFIED_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
 ManyToOneAnnotation getMappingAnnotation()
           
 JavaManyToOneRelationship getRelationship()
          Return the meta-information used to populate the entities of the relationship
 
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
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.RelationshipMapping
getAllTargetEntityAttributeNames, getCascade, getDefaultTargetEntity, getFullyQualifiedTargetEntity, getRelationshipOwner, getResolvedTargetEntity, getSpecifiedTargetEntity, getTargetEntity, getTargetEntityEnclosingTypeSeparator, getTargetEntityNonTransientAttributeNames, 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, getResourceAttribute, updateDefault
 

Method Detail

getMappingAnnotation

ManyToOneAnnotation getMappingAnnotation()
Specified by:
getMappingAnnotation in interface JavaAttributeMapping
Specified by:
getMappingAnnotation in interface JavaRelationshipMapping
Specified by:
getMappingAnnotation in interface JavaSingleRelationshipMapping

getRelationship

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

Specified by:
getRelationship in interface JavaRelationshipMapping
Specified by:
getRelationship in interface ManyToOneMapping
Specified by:
getRelationship in interface RelationshipMapping

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.