org.eclipse.jpt.core.context
Interface JoinTableJoiningStrategy

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JoiningStrategy, JpaContextNode, JpaNode, Model
All Known Subinterfaces:
JavaJoinTableInAssociationOverrideJoiningStrategy2_0, JavaJoinTableJoiningStrategy, OrmJoinTableInAssociationOverrideJoiningStrategy2_0, OrmJoinTableJoiningStrategy

public interface JoinTableJoiningStrategy
extends JoiningStrategy

Joining strategy that uses a join table

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}, JoinTableEnabledRelationshipReference}

Field Summary
static java.lang.String JOIN_TABLE_PROPERTY
          Change notification identifier for "joinTable" property
 
Method Summary
 JoinTable getJoinTable()
          Return the join table used in this reference or null.
 java.lang.String getJoinTableDefaultName()
          Return the default name for the JoinTable in this context
 void initializeFrom(JoinTableJoiningStrategy oldStrategy)
           
 boolean shouldValidateAgainstDatabase()
           
 
Methods inherited from interface org.eclipse.jpt.core.context.JoiningStrategy
addStrategy, getColumnTableNotValidDescription, getDbTable, getRelationshipReference, getTableName, isOverridableAssociation, removeStrategy, tableNameIsInvalid
 
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
 

Field Detail

JOIN_TABLE_PROPERTY

static final java.lang.String JOIN_TABLE_PROPERTY
Change notification identifier for "joinTable" property

See Also:
Constant Field Values
Method Detail

initializeFrom

void initializeFrom(JoinTableJoiningStrategy oldStrategy)

getJoinTable

JoinTable getJoinTable()
Return the join table used in this reference or null. This will be the specified or default join table if one has been specified or a default join table applies, otherwise null.


getJoinTableDefaultName

java.lang.String getJoinTableDefaultName()
Return the default name for the JoinTable in this context


shouldValidateAgainstDatabase

boolean shouldValidateAgainstDatabase()