reintroduced StringUtil.regexpReplace
[mir.git] / source / mir / rss / RDFResource.java
index 254f099..28c3c95 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2001, 2002 The Mir-coders group
+ * Copyright (C) 2001-2006 The Mir-coders group
  *
  * This file is part of Mir.
  *
@@ -19,8 +19,6 @@
  *
  * In addition, as a special exception, The Mir-coders gives permission to link
  * the code of this program with  any library licensed under the Apache Software License,
- * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library
- * (or with modified versions of the above that use the same license as the above),
  * and distribute linked combinations including the two.  You must obey the
  * GNU General Public License in all respects for all of the code used other than
  * the above mentioned libraries.  If you modify this file, you may extend this
@@ -29,7 +27,8 @@
  */
 package mir.rss;
 
-import java.util.*;
+import java.util.HashMap;
+import java.util.Map;
 
 public class RDFResource {
   private String identifier;
@@ -50,6 +49,10 @@ public class RDFResource {
     return identifier;
   }
 
+  public void setIdentifier(String aNewValue) {
+    identifier = aNewValue;
+  }
+
   public String getRdfClass() {
     return rdfClass;
   }
@@ -63,6 +66,6 @@ public class RDFResource {
   }
 
   public String toString() {
-    return rdfClass + " ("+identifier+")";
+    return rdfClass + " ("+identifier+") + ["+properties+"]";
   }
 }
\ No newline at end of file