You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by me...@apache.org on 2007/02/03 17:39:16 UTC

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

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)

Added: incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/model/physical/PhysicalComponentDefinition.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/model/physical/PhysicalComponentDefinition.java?view=auto&rev=503232
==============================================================================
--- incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/model/physical/PhysicalComponentDefinition.java (added)
+++ incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/model/physical/PhysicalComponentDefinition.java Sat Feb  3 08:39:15 2007
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package org.apache.tuscany.spi.model.physical;
+
+/**
+ * Represents a physical component model.
+ * 
+ * @version $Rev$ $Date$
+ *
+ */
+public abstract class PhysicalComponentDefinition {
+
+}

Propchange: incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/model/physical/PhysicalComponentDefinition.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/model/physical/PhysicalComponentDefinition.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-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


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

Posted by Jeremy Boynes <jb...@apache.org>.
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