On Feb 3, 2007, at 8:39 AM, [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to