org.eclipse.jpt.core.context
Interface JoinColumnEnabledRelationshipReference

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model, RelationshipReference
All Known Subinterfaces:
AssociationOverrideRelationshipReference, AssociationOverrideRelationshipReference2_0, EclipseLinkOneToManyRelationshipReference, EclipseLinkOneToManyRelationshipReference2_0, JavaAssociationOverrideRelationshipReference, JavaAssociationOverrideRelationshipReference2_0, JavaJoinColumnEnabledRelationshipReference, JavaManyToOneRelationshipReference, JavaManyToOneRelationshipReference2_0, JavaOneToManyRelationshipReference2_0, JavaOneToOneRelationshipReference, JavaOneToOneRelationshipReference2_0, ManyToOneRelationshipReference, ManyToOneRelationshipReference2_0, OneToManyRelationshipReference2_0, OneToOneRelationshipReference, OneToOneRelationshipReference2_0, OrmAssociationOverrideRelationshipReference, OrmAssociationOverrideRelationshipReference2_0, OrmJoinColumnEnabledRelationshipReference, OrmManyToOneRelationshipReference, OrmManyToOneRelationshipReference2_0, OrmOneToManyRelationshipReference2_0, OrmOneToOneRelationshipReference, OrmOneToOneRelationshipReference2_0

public interface JoinColumnEnabledRelationshipReference
extends RelationshipReference

A JoinColumnEnabledRelationshipReference is a type of RelationshipReference that may utilize a JoinColumnJoiningStrategy

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.2
Version:
2.2
See Also:
RelationshipMapping, RelationshipReference, JoinColumn

Field Summary
 
Fields inherited from interface org.eclipse.jpt.core.context.RelationshipReference
PREDOMINANT_JOINING_STRATEGY_PROPERTY
 
Method Summary
 JoinColumnJoiningStrategy getJoinColumnJoiningStrategy()
          Return the aggregate (never null) object used to configure the join column joining strategy
 boolean mayHaveDefaultJoinColumn()
          Return whether this reference may potentially have a default join column.
 void setJoinColumnJoiningStrategy()
          Set the join column joining strategy as the predominant joining strategy
 void unsetJoinColumnJoiningStrategy()
          Unset the join column joining strategy as the predominant joining strategy.
 boolean usesJoinColumnJoiningStrategy()
          Return whether the join column joining strategy is currently the predominant joining strategy
 
Methods inherited from interface org.eclipse.jpt.core.context.RelationshipReference
getEntity, getPredominantJoiningStrategy, getRelationshipMapping, getTypeMapping, isOverridableAssociation, isOwnedBy, isParentVirtual, isRelationshipOwner, isTargetForeignKeyRelationship
 
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, postUpdate
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject, getParent
 
Methods inherited from interface org.eclipse.jpt.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.core.IResourcePart
getResource
 

Method Detail

getJoinColumnJoiningStrategy

JoinColumnJoiningStrategy getJoinColumnJoiningStrategy()
Return the aggregate (never null) object used to configure the join column joining strategy


usesJoinColumnJoiningStrategy

boolean usesJoinColumnJoiningStrategy()
Return whether the join column joining strategy is currently the predominant joining strategy


setJoinColumnJoiningStrategy

void setJoinColumnJoiningStrategy()
Set the join column joining strategy as the predominant joining strategy


unsetJoinColumnJoiningStrategy

void unsetJoinColumnJoiningStrategy()
Unset the join column joining strategy as the predominant joining strategy. This will not set any other joining strategy as the predominant one, so whichever one is also configured (is specified) or the default strategy will apply at that point.


mayHaveDefaultJoinColumn

boolean mayHaveDefaultJoinColumn()
Return whether this reference may potentially have a default join column. (For example, a 1-1 mapping may have one if it does not specify a mappedBy or a join table, but a 1-M mapping may not.)