|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RelationshipStrategy
Strategy describing how two entities are joined, either for a
RelationshipMapping or an AssociationOverride:
RelationshipMapping,
AssociationOverride,
Relationship| Method Summary | |
|---|---|
void |
addStrategy()
Add this strategy to the relationship. |
java.lang.String |
getColumnTableNotValidDescription()
Return a message description used when the column's table is not valid in this context. |
Relationship |
getRelationship()
Return the strategy's relationship. |
boolean |
isOverridable()
Return whether the relationship's mapping can be overridden with an association override. |
void |
removeStrategy()
Remove this strategy from the relationship. |
Table |
resolveDbTable(java.lang.String tableName)
Return the database table for the specified table name. |
boolean |
tableNameIsInvalid(java.lang.String tableName)
Return whether the specified table cannot be explicitly specified in the column's table element. |
| 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 |
|---|
Relationship getRelationship()
ReadOnlyRelationshipStrategy
getRelationship in interface ReadOnlyRelationshipStrategyvoid addStrategy()
void removeStrategy()
boolean isOverridable()
Table resolveDbTable(java.lang.String tableName)
boolean tableNameIsInvalid(java.lang.String tableName)
table element.
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 | |||||||||