|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface SpecifiedRelationshipStrategy
Strategy describing how two entities are related, either for a relationship mapping or a specified association override
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,
SpecifiedAssociationOverride,
SpecifiedRelationship| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.JpaModel |
|---|
JpaModel.JpaVersionIsCompatibleWith |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer |
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
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. |
SpecifiedRelationship |
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.RelationshipStrategy |
|---|
getTableName |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextModel |
|---|
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate |
| Methods inherited from interface org.eclipse.jpt.jpa.core.JpaModel |
|---|
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 |
|---|
SpecifiedRelationship getRelationship()
RelationshipStrategy
getRelationship in interface RelationshipStrategyvoid 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 | ||||||||||