org.eclipse.jpt.jpa.core.context.orm
Interface OrmManyToOneMapping

All Superinterfaces:
AttributeMapping, FetchableMapping, org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, ManyToOneMapping, Model, OptionalMapping, OrmAttributeMapping, OrmRelationshipMapping, OrmSingleRelationshipMapping, RelationshipMapping, SingleRelationshipMapping, XmlContextNode
All Known Subinterfaces:
OrmManyToOneMapping2_0

public interface OrmManyToOneMapping
extends ManyToOneMapping, OrmSingleRelationshipMapping

orm.xml 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
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.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
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.orm.OrmAttributeMapping
NAME_PROPERTY
 
Method Summary
 OrmManyToOneRelationship getRelationship()
          Return the meta-information used to populate the entities of the relationship
 XmlManyToOne getXmlAttributeMapping()
           
 
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.orm.OrmRelationshipMapping
getCascade
 
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.orm.OrmAttributeMapping
addXmlAttributeMappingTo, contains, createMoveTypeEdits, createRenamePackageEdits, createRenameTypeEdits, getNameTextRange, getParent, getPersistentAttribute, getSelectionTextRange, getTypeMapping, getXmlSequence, initializeFromOrmAttributeMapping, initializeFromOrmBasicMapping, initializeFromOrmEmbeddedIdMapping, initializeFromOrmEmbeddedMapping, initializeFromOrmIdMapping, initializeFromOrmManyToManyMapping, initializeFromOrmManyToOneMapping, initializeFromOrmOneToManyMapping, initializeFromOrmOneToOneMapping, initializeFromOrmTransientMapping, initializeFromOrmVersionMapping, initializeOn, removeXmlAttributeMappingFrom, setName
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.XmlContextNode
getValidationTextRange, validate
 

Method Detail

getXmlAttributeMapping

XmlManyToOne getXmlAttributeMapping()
Specified by:
getXmlAttributeMapping in interface OrmAttributeMapping
Specified by:
getXmlAttributeMapping in interface OrmRelationshipMapping
Specified by:
getXmlAttributeMapping in interface OrmSingleRelationshipMapping

getRelationship

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

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