ws-muse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sc...@apache.org
Subject svn commit: r158823 - in incubator/muse/trunk/src/site/content/interop/src/java/org: apache/ws/resource/example/blackberry/ apache/ws/resource/example/ipmiserver/ apache/ws/resource/example/mowsfactory/ everestWeather/wsdm/samples/x2005/x04/schema/
Date Wed, 23 Mar 2005 19:53:53 GMT
Author: scamp
Date: Wed Mar 23 11:53:52 2005
New Revision: 158823

URL: http://svn.apache.org/viewcvs?view=rev&rev=158823
Log: (empty)


Modified:
    incubator/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/blackberry/BlackberryResource.java
    incubator/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/ipmiserver/IpmiserverResource.java
    incubator/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/mowsfactory/MowsfactoryResource.java
    incubator/muse/trunk/src/site/content/interop/src/java/org/everestWeather/wsdm/samples/x2005/x04/schema/WeatherstationResource.java

Modified: incubator/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/blackberry/BlackberryResource.java
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/blackberry/BlackberryResource.java?view=diff&r1=158822&r2=158823
==============================================================================
--- incubator/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/blackberry/BlackberryResource.java
(original)
+++ incubator/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/blackberry/BlackberryResource.java
Wed Mar 23 11:53:52 2005
@@ -7,6 +7,7 @@
 import org.apache.ws.muws.v1_0.capability.ConfigurationCapability;
 import org.apache.ws.mows.v1_0.capability.OperationalStatusCapability;
 import org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart1.ManageabilityCapabilityDocument;
+import org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart1.ResourceIdDocument;
 
 /**
  * A Blackberry WS-Resource.
@@ -76,13 +77,17 @@
 
         //todo
         /** Properties **/
+        resourceProperty = resourcePropertySet.get(BlackberryPropertyQNames.RESOURCEID);
+        ResourceIdDocument resourceIdDocument = ResourceIdDocument.Factory.newInstance();
+        resourceIdDocument.setResourceId((String)getID());
+        resourceProperty.add(resourceIdDocument);
+
         resourceProperty = resourcePropertySet.get(BlackberryPropertyQNames.ALLOCATEDSTORAGE);
         resourceProperty = resourcePropertySet.get(BlackberryPropertyQNames.CURRENTTIME);
         resourceProperty = resourcePropertySet.get(BlackberryPropertyQNames.CURRENTTIME2);
         resourceProperty = resourcePropertySet.get(BlackberryPropertyQNames.DATE);
         resourceProperty = resourcePropertySet.get(BlackberryPropertyQNames.FREESTORAGE);
         resourceProperty = resourcePropertySet.get(BlackberryPropertyQNames.OPERATIONALSTATUS);
-        resourceProperty = resourcePropertySet.get(BlackberryPropertyQNames.RESOURCEID);
         resourceProperty = resourcePropertySet.get(BlackberryPropertyQNames.TIME);
         resourceProperty = resourcePropertySet.get(BlackberryPropertyQNames.TOTALCODEMODULESIZE);
     }

Modified: incubator/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/ipmiserver/IpmiserverResource.java
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/ipmiserver/IpmiserverResource.java?view=diff&r1=158822&r2=158823
==============================================================================
--- incubator/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/ipmiserver/IpmiserverResource.java
(original)
+++ incubator/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/ipmiserver/IpmiserverResource.java
Wed Mar 23 11:53:52 2005
@@ -2,9 +2,11 @@
 package org.apache.ws.resource.example.ipmiserver;
 
 import org.apache.ws.resource.properties.ResourceProperty;
+import org.apache.ws.resource.example.blackberry.BlackberryPropertyQNames;
 import org.apache.ws.muws.v1_0.capability.IdentityCapability;
 import org.apache.ws.mows.v1_0.capability.OperationalStatusCapability;
 import org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart1.ManageabilityCapabilityDocument;
+import org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart1.ResourceIdDocument;
 
 /**
  * A Ipmiserver WS-Resource.
@@ -59,10 +61,15 @@
 
         //todo
         /** Properties **/
+        resourceProperty = resourcePropertySet.get(BlackberryPropertyQNames.RESOURCEID);
+        ResourceIdDocument resourceIdDocument = ResourceIdDocument.Factory.newInstance();
+        resourceIdDocument.setResourceId((String)getID());
+        resourceProperty.add(resourceIdDocument);
+
         resourceProperty = resourcePropertySet.get(IpmiserverPropertyQNames.CPUUSAGE);
         resourceProperty = resourcePropertySet.get(IpmiserverPropertyQNames.CURRENTTIME);
         resourceProperty = resourcePropertySet.get(IpmiserverPropertyQNames.OPERATIONALSTATUS);
-        resourceProperty = resourcePropertySet.get(IpmiserverPropertyQNames.RESOURCEID);
+        
     }
 
 }

Modified: incubator/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/mowsfactory/MowsfactoryResource.java
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/mowsfactory/MowsfactoryResource.java?view=diff&r1=158822&r2=158823
==============================================================================
--- incubator/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/mowsfactory/MowsfactoryResource.java
(original)
+++ incubator/muse/trunk/src/site/content/interop/src/java/org/apache/ws/resource/example/mowsfactory/MowsfactoryResource.java
Wed Mar 23 11:53:52 2005
@@ -45,6 +45,7 @@
 
         //todo
         /** Properties **/
+        
         resourceProperty = resourcePropertySet.get(MowsfactoryPropertyQNames.OPERATIONALSTATUS);
         resourceProperty = resourcePropertySet.get(MowsfactoryPropertyQNames.RESOURCEID);
     }

Modified: incubator/muse/trunk/src/site/content/interop/src/java/org/everestWeather/wsdm/samples/x2005/x04/schema/WeatherstationResource.java
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/interop/src/java/org/everestWeather/wsdm/samples/x2005/x04/schema/WeatherstationResource.java?view=diff&r1=158822&r2=158823
==============================================================================
--- incubator/muse/trunk/src/site/content/interop/src/java/org/everestWeather/wsdm/samples/x2005/x04/schema/WeatherstationResource.java
(original)
+++ incubator/muse/trunk/src/site/content/interop/src/java/org/everestWeather/wsdm/samples/x2005/x04/schema/WeatherstationResource.java
Wed Mar 23 11:53:52 2005
@@ -12,6 +12,7 @@
 import org.apache.ws.mows.v1_0.capability.OperationalStatusCapability;
 import org.apache.ws.mows.v1_0.capability.RequestProcessingStateCapability;
 import org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart1.ManageabilityCapabilityDocument;
+import org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart1.ResourceIdDocument;
 
 /**
  * A Weatherstation WS-Resource.
@@ -83,10 +84,15 @@
 
         //todo
         /** Properties **/
+        resourceProperty = resourcePropertySet.get(BlackberryPropertyQNames.RESOURCEID);
+        ResourceIdDocument resourceIdDocument = ResourceIdDocument.Factory.newInstance();
+        resourceIdDocument.setResourceId((String)getID());
+        resourceProperty.add(resourceIdDocument);
+
         resourceProperty = resourcePropertySet.get(WeatherstationPropertyQNames.CURRENTTIME);
         resourceProperty = resourcePropertySet.get(WeatherstationPropertyQNames.OPERATIONALSTATUS);
         resourceProperty = resourcePropertySet.get(WeatherstationPropertyQNames.RELATIONSHIP);
-        resourceProperty = resourcePropertySet.get(WeatherstationPropertyQNames.RESOURCEID);
+        
 
     }
 



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


Mime
View raw message