diff options
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/java/GenericJavaMappedByRelationshipStrategy.java')
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/java/GenericJavaMappedByRelationshipStrategy.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/java/GenericJavaMappedByRelationshipStrategy.java b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/java/GenericJavaMappedByRelationshipStrategy.java index cc689b21ee..788c6a77a0 100644 --- a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/java/GenericJavaMappedByRelationshipStrategy.java +++ b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/java/GenericJavaMappedByRelationshipStrategy.java @@ -106,22 +106,22 @@ public class GenericJavaMappedByRelationshipStrategy public String getTableName() { RelationshipMapping owner = this.getRelationshipOwner(); - return (owner == null) ? null : owner.getRelationship().getPredominantJoiningStrategy().getTableName(); + return (owner == null) ? null : owner.getRelationship().getStrategy().getTableName(); } public Table resolveDbTable(String tableName) { RelationshipMapping owner = this.getRelationshipOwner(); - return (owner == null) ? null : owner.getRelationship().getPredominantJoiningStrategy().resolveDbTable(tableName); + return (owner == null) ? null : owner.getRelationship().getStrategy().resolveDbTable(tableName); } public boolean tableNameIsInvalid(String tableName) { RelationshipMapping owner = this.getRelationshipOwner(); - return (owner != null) && owner.getRelationship().getPredominantJoiningStrategy().tableNameIsInvalid(tableName); + return (owner != null) && owner.getRelationship().getStrategy().tableNameIsInvalid(tableName); } public String getColumnTableNotValidDescription() { //this will not be called if getRelationshipOwner() is null - return this.getRelationshipOwner().getRelationship().getPredominantJoiningStrategy().getColumnTableNotValidDescription(); + return this.getRelationshipOwner().getRelationship().getStrategy().getColumnTableNotValidDescription(); } protected RelationshipMapping getRelationshipOwner() { |