Dali Provisional API
Release 3.2

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

All Superinterfaces:
AttributeMapping, FetchableMapping, IAdaptable, JpaContextNode, JpaNode, JptResourceTypeReference, Model, OrmAttributeMapping, RelationshipMapping, TypeRefactoringParticipant
All Known Subinterfaces:
OrmManyToManyMapping, OrmManyToOneMapping, OrmMultiRelationshipMapping, OrmOneToManyMapping, OrmOneToOneMapping, OrmSingleRelationshipMapping, OrmSingleRelationshipMapping2_0

public interface OrmRelationshipMapping
extends RelationshipMapping, OrmAttributeMapping

orm.xml relationship (1:1, 1:m, m:1, m:m) 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.AttributeMapping
AttributeMapping.GeneratorsTransformer, AttributeMapping.IsNotTransient, AttributeMapping.IsOverridableAssociationMapping, AttributeMapping.KeyEquals, AttributeMapping.NameTransformer
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeTransformer
 
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.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.AttributeMapping
DEFAULT_PROPERTY, GENERATORS_TRANSFORMER, IS_NOT_TRANSIENT, IS_OVERRIDABLE_ASSOCIATION_MAPPING, NAME_TRANSFORMER
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
RESOURCE_TYPE_TRANSFORMER
 
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
 OrmCascade getCascade()
           
 OrmMappingRelationship getRelationship()
          Return the meta-information used to populate the entities of the relationship
 org.eclipse.jpt.jpa.core.resource.orm.AbstractXmlRelationshipMapping getXmlAttributeMapping()
           
 
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.AttributeMapping
getAllMappingNames, getAllOverridableAssociationMappingNames, getAllOverridableAttributeMappingNames, getGenerators, getKey, getName, getPersistentAttribute, getPrimaryKeyColumnName, getTypeMapping, isDefault, isOverridableAssociationMapping, isOverridableAttributeMapping, isOwnedBy, isRelationshipOwner, resolveAttributeMapping, resolveOverriddenColumn, resolveOverriddenRelationship, validatesAgainstDatabase
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode
getJpaPlatform, getJpaProject, getJpaProjectManager, getResource, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
getResourceType
 
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.AbstractXmlRelationshipMapping getXmlAttributeMapping()
Specified by:
getXmlAttributeMapping in interface OrmAttributeMapping

getCascade

OrmCascade getCascade()
Specified by:
getCascade in interface RelationshipMapping

getRelationship

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

Specified by:
getRelationship in interface RelationshipMapping

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.