Dali Provisional API
Release 3.2

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

All Superinterfaces:
AttributeMapping, FetchableMapping, IAdaptable, JpaContextModel, JpaModel, JptResourceTypeReference, ManyToOneMapping, Model, OptionalMapping, OrmAttributeMapping, OrmRelationshipMapping, OrmSingleRelationshipMapping, RelationshipMapping, SingleRelationshipMapping, TypeRefactoringParticipant

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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.TypeRefactoringParticipant
TypeRefactoringParticipant.MoveTypeEditsTransformer, TypeRefactoringParticipant.RenamePackageEditsTransformer, TypeRefactoringParticipant.RenameTypeEditsTransformer
 
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
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.orm.OrmAttributeMapping
DEFAULT_ATTRIBUTE_TYPE_PROPERTY, FULLY_QUALIFIED_ATTRIBUTE_TYPE_PROPERTY, NAME_PROPERTY, SPECIFIED_ATTRIBUTE_TYPE_PROPERTY
 
Method Summary
 OrmManyToOneRelationship getRelationship()
          Return the meta-information used to populate the entities of the relationship
 org.eclipse.jpt.jpa.core.resource.orm.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
getAllTargetEntityAttributeNames, 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.orm.OrmAttributeMapping
addXmlAttributeMappingTo, getAttributeType, getDefaultAttributeType, getFullyQualifiedAttributeType, getNameTextRange, getParent, getPersistentAttribute, getSelectionTextRange, getSpecifiedAttributeType, getTypeMapping, getXmlSequence, initializeFromOrmAttributeMapping, initializeFromOrmBasicMapping, initializeFromOrmEmbeddedIdMapping, initializeFromOrmEmbeddedMapping, initializeFromOrmIdMapping, initializeFromOrmManyToManyMapping, initializeFromOrmManyToOneMapping, initializeFromOrmOneToManyMapping, initializeFromOrmOneToOneMapping, initializeFromOrmTransientMapping, initializeFromOrmVersionMapping, initializeOn, removeXmlAttributeMappingFrom, setName, setSpecifiedAttributeType
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.TypeRefactoringParticipant
createMoveTypeEdits, createRenamePackageEdits, createRenameTypeEdits
 

Method Detail

getXmlAttributeMapping

org.eclipse.jpt.jpa.core.resource.orm.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

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.