summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/policy/src
diff options
context:
space:
mode:
Diffstat (limited to 'java/sca/modules/policy/src')
-rw-r--r--java/sca/modules/policy/src/main/java/org/apache/tuscany/sca/policy/Intent.java4
-rw-r--r--java/sca/modules/policy/src/main/java/org/apache/tuscany/sca/policy/impl/IntentImpl.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/java/sca/modules/policy/src/main/java/org/apache/tuscany/sca/policy/Intent.java b/java/sca/modules/policy/src/main/java/org/apache/tuscany/sca/policy/Intent.java
index 78ce04e9c9..b79ccdab78 100644
--- a/java/sca/modules/policy/src/main/java/org/apache/tuscany/sca/policy/Intent.java
+++ b/java/sca/modules/policy/src/main/java/org/apache/tuscany/sca/policy/Intent.java
@@ -140,13 +140,13 @@ public interface Intent {
* return null.
* @return The parent intent or null if this intent is not qualified
*/
- Intent getParent();
+ Intent getQualifiableIntent();
/**
* Set the parent intent for a qualified intent
* @param intent
*/
- void setParent(Intent intent);
+ void setQualifiableIntent(Intent intent);
boolean isUnresolved();
diff --git a/java/sca/modules/policy/src/main/java/org/apache/tuscany/sca/policy/impl/IntentImpl.java b/java/sca/modules/policy/src/main/java/org/apache/tuscany/sca/policy/impl/IntentImpl.java
index 3c87c78af9..27a77f3ba8 100644
--- a/java/sca/modules/policy/src/main/java/org/apache/tuscany/sca/policy/impl/IntentImpl.java
+++ b/java/sca/modules/policy/src/main/java/org/apache/tuscany/sca/policy/impl/IntentImpl.java
@@ -72,11 +72,11 @@ public class IntentImpl implements Intent {
this.description = description;
}
- public Intent getParent() {
+ public Intent getQualifiableIntent() {
return parent;
}
- public void setParent(Intent parent) {
+ public void setQualifiableIntent(Intent parent) {
this.parent = parent;
}