org.eclipse.jpt.core.context
Interface JoinTableEnabledRelationshipReference

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model, RelationshipReference
All Known Subinterfaces:
AssociationOverrideRelationshipReference2_0, EclipseLinkOneToManyRelationshipReference, EclipseLinkOneToManyRelationshipReference2_0, JavaAssociationOverrideRelationshipReference2_0, JavaJoinTableEnabledRelationshipReference, JavaManyToManyRelationshipReference, JavaManyToOneRelationshipReference2_0, JavaOneToManyRelationshipReference, JavaOneToManyRelationshipReference2_0, JavaOneToOneRelationshipReference2_0, ManyToManyRelationshipReference, ManyToOneRelationshipReference2_0, OneToManyRelationshipReference, OneToManyRelationshipReference2_0, OneToOneRelationshipReference2_0, OrmAssociationOverrideRelationshipReference2_0, OrmJoinTableEnabledRelationshipReference, OrmManyToManyRelationshipReference, OrmManyToOneRelationshipReference2_0, OrmOneToManyRelationshipReference, OrmOneToManyRelationshipReference2_0, OrmOneToOneRelationshipReference2_0

public interface JoinTableEnabledRelationshipReference
extends RelationshipReference

A JoinTableEnabledRelationshipReference is a type of RelationshipReference that may utilize a JoinTableJoiningStrategy

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, JoinTableJoiningStrategy, JoinTable

Field Summary
 
Fields inherited from interface org.eclipse.jpt.core.context.RelationshipReference
PREDOMINANT_JOINING_STRATEGY_PROPERTY
 
Method Summary
 JoinTableJoiningStrategy getJoinTableJoiningStrategy()
          Return the aggregate (never null) object used to configure the join table joining strategy
 boolean mayHaveDefaultJoinTable()
          Return whether this reference may potentially have a default join table.
 void setJoinTableJoiningStrategy()
          Set the join table joining strategy as the predominant joining strategy
 void unsetJoinTableJoiningStrategy()
          Unset the join table joining strategy as the predominant joining strategy.
 boolean usesJoinTableJoiningStrategy()
          Return whether the join table 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

getJoinTableJoiningStrategy

JoinTableJoiningStrategy getJoinTableJoiningStrategy()
Return the aggregate (never null) object used to configure the join table joining strategy


usesJoinTableJoiningStrategy

boolean usesJoinTableJoiningStrategy()
Return whether the join table joining strategy is currently the predominant joining strategy


setJoinTableJoiningStrategy

void setJoinTableJoiningStrategy()
Set the join table joining strategy as the predominant joining strategy


unsetJoinTableJoiningStrategy

void unsetJoinTableJoiningStrategy()
Unset the join table 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.


mayHaveDefaultJoinTable

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