|
Dali Provisional API Release 3.2 |
||||||||||
| 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| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
JptResourceTypeReference.ResourceTypeTransformer |
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
RESOURCE_TYPE_TRANSFORMER |
| Method Summary | |
|---|---|
void |
addStrategy()
Add this strategy to the relationship. |
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(String tableName)
Return the database table for the specified table name. |
boolean |
tableNameIsInvalid(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 |
|---|
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate |
| Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode |
|---|
getJpaPlatform, getJpaProject, getJpaProjectManager, getResource, stateChanged |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
getResourceType |
| Method Detail |
|---|
Relationship getRelationship()
ReadOnlyRelationshipStrategy
getRelationship in interface ReadOnlyRelationshipStrategyvoid addStrategy()
void removeStrategy()
boolean isOverridable()
Table resolveDbTable(String tableName)
boolean tableNameIsInvalid(String tableName)
table element.
String getColumnTableNotValidDescription()
location: Table "table name" for map key column "column name"
description: does not match join table
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||