|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JoiningStrategy
Represents how the information in two entities are joined together 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.
RelationshipMapping},
RelationshipReference}| Method Summary | |
|---|---|
void |
addStrategy()
Add this strategy to the relationship reference |
java.lang.String |
getColumnTableNotValidDescription()
Return a message description used when the column's table is not valid in this context. |
Table |
getDbTable(java.lang.String tableName)
Return the database table for the specified table name |
RelationshipReference |
getRelationshipReference()
Return the relationship reference that owns this strategy |
java.lang.String |
getTableName()
Return the table name associated with columns on this joining strategy. |
boolean |
isOverridableAssociation()
Return whether the mapping can be overridden with an association override |
void |
removeStrategy()
Remove this strategy from the relationship reference |
boolean |
tableNameIsInvalid(java.lang.String tableName)
return whether the given table cannot be explicitly specified in the column's 'table' element |
| 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 |
|---|
RelationshipReference getRelationshipReference()
void addStrategy()
void removeStrategy()
boolean isOverridableAssociation()
java.lang.String getTableName()
Table getDbTable(java.lang.String tableName)
boolean tableNameIsInvalid(java.lang.String tableName)
java.lang.String getColumnTableNotValidDescription()
location: Table "table name" for map key column "column name"
description: does not match join table
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||