diff options
author | Brian Vosburgh | 2013-02-27 19:45:56 +0000 |
---|---|---|
committer | Brian Vosburgh | 2013-03-05 20:04:10 +0000 |
commit | f76f20c6e5844055f45666da43d84482e923997f (patch) | |
tree | 405bf503accb6b73f1ffc5f28bbe7fd5ea388599 /jpa_diagram_editor | |
parent | eea41de246c546e51067d46bbf8880d7a01bda97 (diff) | |
download | webtools.dali-f76f20c6e5844055f45666da43d84482e923997f.tar.gz webtools.dali-f76f20c6e5844055f45666da43d84482e923997f.tar.xz webtools.dali-f76f20c6e5844055f45666da43d84482e923997f.zip |
rename Relationship to SpecifiedRelationship
Diffstat (limited to 'jpa_diagram_editor')
-rw-r--r-- | jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.ui/src/org/eclipse/jpt/jpadiagrameditor/ui/internal/util/JPASolver.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.ui/src/org/eclipse/jpt/jpadiagrameditor/ui/internal/util/JPASolver.java b/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.ui/src/org/eclipse/jpt/jpadiagrameditor/ui/internal/util/JPASolver.java index 150f0f55d8..8f032f06d2 100644 --- a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.ui/src/org/eclipse/jpt/jpadiagrameditor/ui/internal/util/JPASolver.java +++ b/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.ui/src/org/eclipse/jpt/jpadiagrameditor/ui/internal/util/JPASolver.java @@ -92,7 +92,7 @@ import org.eclipse.jpt.jpa.core.context.OptionalMapping; import org.eclipse.jpt.jpa.core.context.SpecifiedPersistentAttribute; import org.eclipse.jpt.jpa.core.context.PersistentType; import org.eclipse.jpt.jpa.core.context.ReadOnlyRelationship; -import org.eclipse.jpt.jpa.core.context.Relationship; +import org.eclipse.jpt.jpa.core.context.SpecifiedRelationship; import org.eclipse.jpt.jpa.core.context.RelationshipMapping; import org.eclipse.jpt.jpa.core.context.SpecifiedRelationshipStrategy; import org.eclipse.jpt.jpa.core.context.java.JavaAttributeMapping; @@ -506,7 +506,7 @@ public class JPASolver implements IResourceChangeListener, IJpaSolver { JavaAttributeMapping jam = jpa.getMapping(); if ((jam == null) || !RelationshipMapping.class.isInstance(jam)) return; - Relationship rr = ((RelationshipMapping) jam).getRelationship(); + SpecifiedRelationship rr = ((RelationshipMapping) jam).getRelationship(); if (rr == null) return; SpecifiedRelationshipStrategy js = rr.getStrategy(); @@ -654,7 +654,7 @@ public class JPASolver implements IResourceChangeListener, IJpaSolver { JavaAttributeMapping jam = jpa.getMapping(); if ((jam == null) || !RelationshipMapping.class.isInstance(jam)) return; - Relationship rr = ((RelationshipMapping) jam).getRelationship(); + SpecifiedRelationship rr = ((RelationshipMapping) jam).getRelationship(); if (rr == null) return; SpecifiedRelationshipStrategy js = rr.getStrategy(); @@ -679,7 +679,7 @@ public class JPASolver implements IResourceChangeListener, IJpaSolver { JavaAttributeMapping jam = jpa.getMapping(); if ((jam == null) || !RelationshipMapping.class.isInstance(jam)) return; - Relationship rr = ((RelationshipMapping) jam).getRelationship(); + SpecifiedRelationship rr = ((RelationshipMapping) jam).getRelationship(); if (rr == null) return; rr.addPropertyChangeListener(ReadOnlyRelationship.STRATEGY_PROPERTY, lsnr); @@ -775,7 +775,7 @@ public class JPASolver implements IResourceChangeListener, IJpaSolver { JavaAttributeMapping jam = jpa.getMapping(); if ((jam == null) || !RelationshipMapping.class.isInstance(jam)) return; - Relationship rr = ((RelationshipMapping) jam).getRelationship(); + SpecifiedRelationship rr = ((RelationshipMapping) jam).getRelationship(); if (rr == null) return; SpecifiedRelationshipStrategy js = rr.getStrategy(); @@ -821,7 +821,7 @@ public class JPASolver implements IResourceChangeListener, IJpaSolver { JavaAttributeMapping jam = jpa.getMapping(); if ((jam == null) || !RelationshipMapping.class.isInstance(jam)) return; - Relationship rr = ((RelationshipMapping) jam).getRelationship(); + SpecifiedRelationship rr = ((RelationshipMapping) jam).getRelationship(); if (rr == null) return; rr.removePropertyChangeListener(ReadOnlyRelationship.STRATEGY_PROPERTY, lsnr); @@ -1249,7 +1249,7 @@ public class JPASolver implements IResourceChangeListener, IJpaSolver { public class AttributeRelationshipReferencePropertyChangeListener implements PropertyChangeListener { synchronized public void propertyChanged(PropertyChangeEvent event) { - Relationship rr = (Relationship)event.getSource(); + SpecifiedRelationship rr = (SpecifiedRelationship)event.getSource(); JpaModel p = rr.getParent(); if (p == null) return; |