Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.core.jpa2.context
Interface SpecifiedMappingRelationshipStrategy2_0

All Superinterfaces:
IAdaptable, JpaContextModel, JpaModel, JptResourceTypeReference, Model, RelationshipStrategy, SpecifiedRelationshipStrategy

public interface SpecifiedMappingRelationshipStrategy2_0
extends SpecifiedRelationshipStrategy

Strategy describing how two entities are joined via a RelationshipMapping:

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.

See Also:
RelationshipMapping, SpecifiedAssociationOverride, MappingRelationship

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.JpaModel
JpaModel.JpaVersionIsCompatibleWith
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer
 
Field Summary
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
TRANSFORMER
 
Method Summary
 RelationshipStrategy selectOverrideStrategy(OverrideRelationship2_0 overrideRelationship)
          Select from the specified override relationship which of its strategies is the override strategy (join column or join table).
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.SpecifiedRelationshipStrategy
addStrategy, getColumnTableNotValidDescription, getRelationship, isOverridable, removeStrategy, resolveDbTable, tableNameIsInvalid
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.RelationshipStrategy
getTableName
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextModel
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaModel
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
 

Method Detail

selectOverrideStrategy

RelationshipStrategy selectOverrideStrategy(OverrideRelationship2_0 overrideRelationship)
Select from the specified override relationship which of its strategies is the override strategy (join column or join table). An association override can only override the same strategy as the strategy used by its overridden mapping (i.e. if the overridden mapping uses the join column strategy, the association override must also use the join column strategy; it cannot change the strategy to join table). Return null if the override relationship cannot be determined (typically because the association override's name does not match the name of an appropriate attribute mapping in the overridden mapped superclass or embeddable type).


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.