diff options
Diffstat (limited to 'sca-java-2.x/trunk')
2 files changed, 14 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/Composite.java b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/Composite.java index 64a55f1b44..2e8df8011f 100644 --- a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/Composite.java +++ b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/Composite.java @@ -50,6 +50,9 @@ public interface Composite extends Implementation, Extensible, Cloneable, Policy */ void setSpecVersion(String specVersion); + String getContributionURI(); + void setContributionURI(String contributionURI); + /** * Returns the name of the composite. * diff --git a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/CompositeImpl.java b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/CompositeImpl.java index fba6af7e7f..ddc28f2b71 100644 --- a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/CompositeImpl.java +++ b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/CompositeImpl.java @@ -40,6 +40,7 @@ import org.apache.tuscany.sca.assembly.Wire; */ public class CompositeImpl extends ImplementationImpl implements Composite, Cloneable { private String specVersion = "undefined"; + private String contributionURI; private List<Component> components = new ArrayList<Component>(); private List<Composite> includes = new ArrayList<Composite>(); private QName name; @@ -182,4 +183,14 @@ public class CompositeImpl extends ImplementationImpl implements Composite, Clon public String toString() { return "Composite (name=" + getName() + ")"; } + + @Override + public String getContributionURI() { + return contributionURI; + } + + @Override + public void setContributionURI(String contributionURI) { + this.contributionURI = contributionURI; + } } |