summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Fiedler2011-10-24 16:53:12 (EDT)
committer Steve Speicher2011-10-24 16:53:12 (EDT)
commit0564a8a0a63a9c3f4a1263e0cc3a097159402433 (patch)
treedd02ca6adb8d14f7d8adc7bdea129f6a9146345b
parent104b381730724c061322f1530b561bfb7098ccab (diff)
downloadorg.eclipse.lyo.rio-0564a8a0a63a9c3f4a1263e0cc3a097159402433.zip
org.eclipse.lyo.rio-0564a8a0a63a9c3f4a1263e0cc3a097159402433.tar.gz
org.eclipse.lyo.rio-0564a8a0a63a9c3f4a1263e0cc3a097159402433.tar.bz2
Bug361832 add oslc:details to AM, CM, RM
-rw-r--r--org.eclipse.lyo.rio.am/src/main/java/org/eclipse/lyo/rio/services/common/ServiceResource.java3
-rw-r--r--org.eclipse.lyo.rio.cm/src/main/java/org/eclipse/lyo/rio/services/common/ServiceResource.java3
-rw-r--r--org.eclipse.lyo.rio.rm/src/main/java/org/eclipse/lyo/rio/services/common/ServiceResource.java3
3 files changed, 6 insertions, 3 deletions
diff --git a/org.eclipse.lyo.rio.am/src/main/java/org/eclipse/lyo/rio/services/common/ServiceResource.java b/org.eclipse.lyo.rio.am/src/main/java/org/eclipse/lyo/rio/services/common/ServiceResource.java
index 6f11f46..2c012f7 100644
--- a/org.eclipse.lyo.rio.am/src/main/java/org/eclipse/lyo/rio/services/common/ServiceResource.java
+++ b/org.eclipse.lyo.rio.am/src/main/java/org/eclipse/lyo/rio/services/common/ServiceResource.java
@@ -32,7 +32,8 @@ public class ServiceResource extends RioResource {
RioStore store = RioStore.getStore();
String urlBase = store.getUriBase();
- this.addRdfType(IConstants.OSLC_TYPE_SERVICEPROVIDER);
+ this.addRdfType(IConstants.OSLC_TYPE_SERVICEPROVIDER);
+ this.addUriProperty(IConstants.OSLC_DETAILS, urlBase + "/about.jsp");
this.setStringProperty(IConstants.DCTERMS_TITLE, "RIO AM Services");
this.setStringProperty(IConstants.DCTERMS_DESCRIPTION, "RIO AM Services" );
diff --git a/org.eclipse.lyo.rio.cm/src/main/java/org/eclipse/lyo/rio/services/common/ServiceResource.java b/org.eclipse.lyo.rio.cm/src/main/java/org/eclipse/lyo/rio/services/common/ServiceResource.java
index eec5b0c..1f965ab 100644
--- a/org.eclipse.lyo.rio.cm/src/main/java/org/eclipse/lyo/rio/services/common/ServiceResource.java
+++ b/org.eclipse.lyo.rio.cm/src/main/java/org/eclipse/lyo/rio/services/common/ServiceResource.java
@@ -32,7 +32,8 @@ public class ServiceResource extends RioResource {
RioStore store = RioStore.getStore();
String urlBase = store.getUriBase();
- this.addRdfType(IConstants.OSLC_TYPE_SERVICEPROVIDER);
+ this.addRdfType(IConstants.OSLC_TYPE_SERVICEPROVIDER);
+ this.addUriProperty(IConstants.OSLC_DETAILS, urlBase + "/about.jsp");
this.setStringProperty(IConstants.DCTERMS_TITLE, "RIO CM Services Document");
this.setStringProperty(IConstants.DCTERMS_DESCRIPTION, "RIO CM Services Document" );
diff --git a/org.eclipse.lyo.rio.rm/src/main/java/org/eclipse/lyo/rio/services/common/ServiceResource.java b/org.eclipse.lyo.rio.rm/src/main/java/org/eclipse/lyo/rio/services/common/ServiceResource.java
index 5c374a5..c9741f8 100644
--- a/org.eclipse.lyo.rio.rm/src/main/java/org/eclipse/lyo/rio/services/common/ServiceResource.java
+++ b/org.eclipse.lyo.rio.rm/src/main/java/org/eclipse/lyo/rio/services/common/ServiceResource.java
@@ -33,7 +33,8 @@ public class ServiceResource extends RioResource {
RioStore store = RioStore.getStore();
String urlBase = store.getUriBase();
- this.addRdfType(IConstants.OSLC_TYPE_SERVICEPROVIDER);
+ this.addRdfType(IConstants.OSLC_TYPE_SERVICEPROVIDER);
+ this.addUriProperty(IConstants.OSLC_DETAILS, urlBase + "/about.jsp");
this.setStringProperty(IConstants.DCTERMS_TITLE, Messages.getString("Catalog.ServiceDocumentTitle"));
this.setStringProperty(IConstants.DCTERMS_DESCRIPTION, Messages.getString("Catalog.CatalogDocumentDescription") );