diff src/main/java/de/mpiwg/itgroup/annotations/Tag.java @ 58:f5c0e6df7e88

made uri prefixes in store configurable.
author casties
date Tue, 20 Nov 2012 18:23:52 +0100
parents f4ed2ed33e5b
children 2b1e6df5e21a
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/itgroup/annotations/Tag.java	Tue Nov 20 17:56:35 2012 +0100
+++ b/src/main/java/de/mpiwg/itgroup/annotations/Tag.java	Tue Nov 20 18:23:52 2012 +0100
@@ -1,5 +1,7 @@
 package de.mpiwg.itgroup.annotations;
 
+import de.mpiwg.itgroup.annotations.restlet.BaseRestlet;
+
 /**
  * @author dwinter
  *
@@ -18,7 +20,7 @@
 		}
 		public String getUri() {
 			if (uri==null){
-				return NS.MPIWG_TAGS_URL+getId(); // erzeuge uri aus if falls keine ID
+				return BaseRestlet.TAGS_URI_PREFIX+getId(); // erzeuge uri aus if falls keine ID
 			}
 			return uri;
 		}