tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r1126326 - in /tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly: Composite.java impl/CompositeImpl.java
Date Mon, 23 May 2011 06:27:13 GMT
Author: antelder
Date: Mon May 23 06:27:13 2011
New Revision: 1126326

URL: http://svn.apache.org/viewvc?rev=1126326&view=rev
Log:
Add a link from a Composite to its contribution

Modified:
    tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/Composite.java
    tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/CompositeImpl.java

Modified: tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/Composite.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/Composite.java?rev=1126326&r1=1126325&r2=1126326&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/Composite.java
(original)
+++ tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/Composite.java
Mon May 23 06:27:13 2011
@@ -50,6 +50,9 @@ public interface Composite extends Imple
      */
     void setSpecVersion(String specVersion);
 
+    String getContributionURI();
+    void setContributionURI(String contributionURI);
+    
     /**
      * Returns the name of the composite.
      *

Modified: tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/CompositeImpl.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/CompositeImpl.java?rev=1126326&r1=1126325&r2=1126326&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/CompositeImpl.java
(original)
+++ tuscany/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/CompositeImpl.java
Mon May 23 06:27:13 2011
@@ -40,6 +40,7 @@ import org.apache.tuscany.sca.assembly.W
  */
 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 Imple
     public String toString() {
         return "Composite (name=" + getName() + ")";
     }
+
+    @Override
+    public String getContributionURI() {
+        return contributionURI;
+    }
+
+    @Override
+    public void setContributionURI(String contributionURI) {
+        this.contributionURI = contributionURI;
+    }
 }



Mime
View raw message