]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-5271: Added comments to ResourceBase.
authorAron Roberts <aron@socrates.berkeley.edu>
Fri, 8 Jun 2012 03:13:22 +0000 (20:13 -0700)
committerAron Roberts <aron@socrates.berkeley.edu>
Fri, 8 Jun 2012 03:13:22 +0000 (20:13 -0700)
services/common/src/main/java/org/collectionspace/services/common/ResourceBase.java

index 4df2662b76e91b9bc147605b878c16aa2ec18aa9..882f86ba9eb6fc62daf282115815ee73cb14a548 100644 (file)
@@ -382,6 +382,9 @@ public abstract class ResourceBase
     \r
     // FIXME: For authority items, we will need to return an array / collection of uriTemplate objects,\r
     // since there are two different doctypes, with associated uriTemplates, to insert into the registry.\r
+    // (One of those uriTemplates will also need to be of type ITEM, while in AuthorityResourceWithContacts,\r
+    // a third uriTemplate will need to be of type CONCEPT.)\r
+    \r
     // The following is a placeholder to test proof of concept, adding a single item from each resource\r
     // to the registry.\r
     \r
@@ -390,6 +393,8 @@ public abstract class ResourceBase
         return getServiceName();\r
     }\r
     \r
+    // As generally mentioned by Patrick, we will want to cache generated values, and\r
+    // only generate one time if the cached value has not yet been populated. \r
 \r
     public StoredValuesUriTemplate getUriTemplate() {\r
         Map<String,String> storedValuesMap = new HashMap<String,String>();\r