You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Jeremy Boynes <jb...@apache.org> on 2007/02/03 20:49:42 UTC

Re: svn commit: r503232 - in /incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/model/physical: ./ PhysicalComponentDefinition.java

On Feb 3, 2007, at 8:39 AM, meerajk@apache.org wrote:

> Author: meerajk
> Date: Sat Feb  3 08:39:15 2007
> New Revision: 503232
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=503232
> Log:
> Physical component model.
>
> Added:
>     incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/ 
> tuscany/spi/model/physical/
>     incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/ 
> tuscany/spi/model/physical/PhysicalComponentDefinition.java   (with  
> props)

In light of Jim's URI change, we probably need that in the physical  
model as well:

Index: spi/src/main/java/org/apache/tuscany/spi/model/physical/ 
PhysicalComponentDefinition.java
===================================================================
--- spi/src/main/java/org/apache/tuscany/spi/model/physical/ 
PhysicalComponentDefinition.java    (revision 503292)
+++ spi/src/main/java/org/apache/tuscany/spi/model/physical/ 
PhysicalComponentDefinition.java    (working copy)
@@ -18,6 +18,8 @@
   */
package org.apache.tuscany.spi.model.physical;
+import java.net.URI;
+
/**
   * Represents a physical component model.
   *
@@ -25,5 +27,21 @@
   *
   */
public abstract class PhysicalComponentDefinition {
+    private URI componentId;
+    /**
+     * Returns the absolute id for the phyiscal component.
+     * @return the absolute id for the phyiscal component
+     */
+    public URI getComponentId() {
+        return componentId;
+    }
+
+    /**
+     * Sets the absolute id for the phyiscal component.
+     * @param componentId the absolute id for the phyiscal component
+     */
+    public void setComponentId(URI componentId) {
+        this.componentId = componentId;
+    }
}


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: svn commit: r503232 - in /incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/model/physical: ./ PhysicalComponentDefinition.java

Posted by Meeraj Kunnumpurath <m....@hotmail.co.uk>.
Thanks, I was thinking about adding that in :)


>From: Jeremy Boynes <jb...@apache.org>
>Reply-To: tuscany-dev@ws.apache.org
>To: tuscany-dev@ws.apache.org
>Subject: Re: svn commit: r503232 - in 
>/incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/model/physical: 
>./ PhysicalComponentDefinition.java
>Date: Sat, 3 Feb 2007 11:49:42 -0800
>
>On Feb 3, 2007, at 8:39 AM, meerajk@apache.org wrote:
>
>>Author: meerajk
>>Date: Sat Feb  3 08:39:15 2007
>>New Revision: 503232
>>
>>URL: http://svn.apache.org/viewvc?view=rev&rev=503232
>>Log:
>>Physical component model.
>>
>>Added:
>>     incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/ 
>>tuscany/spi/model/physical/
>>     incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/ 
>>tuscany/spi/model/physical/PhysicalComponentDefinition.java   (with  
>>props)
>
>In light of Jim's URI change, we probably need that in the physical  model 
>as well:
>
>Index: spi/src/main/java/org/apache/tuscany/spi/model/physical/ 
>PhysicalComponentDefinition.java
>===================================================================
>--- spi/src/main/java/org/apache/tuscany/spi/model/physical/ 
>PhysicalComponentDefinition.java    (revision 503292)
>+++ spi/src/main/java/org/apache/tuscany/spi/model/physical/ 
>PhysicalComponentDefinition.java    (working copy)
>@@ -18,6 +18,8 @@
>   */
>package org.apache.tuscany.spi.model.physical;
>+import java.net.URI;
>+
>/**
>   * Represents a physical component model.
>   *
>@@ -25,5 +27,21 @@
>   *
>   */
>public abstract class PhysicalComponentDefinition {
>+    private URI componentId;
>+    /**
>+     * Returns the absolute id for the phyiscal component.
>+     * @return the absolute id for the phyiscal component
>+     */
>+    public URI getComponentId() {
>+        return componentId;
>+    }
>+
>+    /**
>+     * Sets the absolute id for the phyiscal component.
>+     * @param componentId the absolute id for the phyiscal component
>+     */
>+    public void setComponentId(URI componentId) {
>+        this.componentId = componentId;
>+    }
>}
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
>For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>

_________________________________________________________________
MSN Hotmail is evolving – check out the new Windows Live Mail 
http://ideas.live.com


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org