org.eclipse.jpt.jpa.core.context
Interface JoinTableRelationshipStrategy

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model, ReadOnlyJoinTableRelationshipStrategy, ReadOnlyRelationshipStrategy, RelationshipStrategy
All Known Subinterfaces:
JavaJoinTableRelationshipStrategy, OrmJoinTableRelationshipStrategy

public interface JoinTableRelationshipStrategy
extends ReadOnlyJoinTableRelationshipStrategy, RelationshipStrategy

Join table relationship strategy.

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.3
See Also:
RelationshipMapping, AssociationOverride, JoinTableRelationship

Field Summary
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyJoinTableRelationshipStrategy
JOIN_TABLE_PROPERTY
 
Method Summary
 org.eclipse.jpt.jpa.core.internal.context.JptValidator buildJoinTableInverseJoinColumnValidator(JoinColumn column, JoinColumn.Owner owner, org.eclipse.jpt.jpa.core.internal.context.JoinColumnTextRangeResolver textRangeResolver)
           
 org.eclipse.jpt.jpa.core.internal.context.JptValidator buildJoinTableJoinColumnValidator(JoinColumn column, JoinColumn.Owner owner, org.eclipse.jpt.jpa.core.internal.context.JoinColumnTextRangeResolver textRangeResolver)
           
 JoinTable getJoinTable()
          Return the strategy's join table.
 void initializeFrom(ReadOnlyJoinTableRelationshipStrategy oldStrategy)
           
 void initializeFromVirtual(ReadOnlyJoinTableRelationshipStrategy virtualStrategy)
           
 boolean validatesAgainstDatabase()
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyJoinTableRelationshipStrategy
getJoinTableDefaultName
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.RelationshipStrategy
addStrategy, getColumnTableNotValidDescription, getRelationship, isOverridable, removeStrategy, resolveDbTable, tableNameIsInvalid
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.ReadOnlyRelationshipStrategy
getTableName
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, synchronizeWithResourceModel, update
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode
getJpaProject, getParent, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.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.common.core.IResourcePart
getResource
 

Method Detail

initializeFrom

void initializeFrom(ReadOnlyJoinTableRelationshipStrategy oldStrategy)

initializeFromVirtual

void initializeFromVirtual(ReadOnlyJoinTableRelationshipStrategy virtualStrategy)

getJoinTable

JoinTable getJoinTable()
Description copied from interface: ReadOnlyJoinTableRelationshipStrategy
Return the strategy's join table. This will be the specified or default join table if one is specified or a default join table applies, otherwise null.

Specified by:
getJoinTable in interface ReadOnlyJoinTableRelationshipStrategy

validatesAgainstDatabase

boolean validatesAgainstDatabase()

buildJoinTableJoinColumnValidator

org.eclipse.jpt.jpa.core.internal.context.JptValidator buildJoinTableJoinColumnValidator(JoinColumn column,
                                                                                         JoinColumn.Owner owner,
                                                                                         org.eclipse.jpt.jpa.core.internal.context.JoinColumnTextRangeResolver textRangeResolver)

buildJoinTableInverseJoinColumnValidator

org.eclipse.jpt.jpa.core.internal.context.JptValidator buildJoinTableInverseJoinColumnValidator(JoinColumn column,
                                                                                                JoinColumn.Owner owner,
                                                                                                org.eclipse.jpt.jpa.core.internal.context.JoinColumnTextRangeResolver textRangeResolver)