VamsasArchive tested. Locked IO routines to be implemented in ArchiveFile
[vamsas.git] / src / org / vamsas / client / simpleclient / IdFactory.java
index 79ec47c..543730e 100644 (file)
@@ -51,7 +51,14 @@ public class IdFactory extends VorbaIdFactory {
     idstring = client.getClientUrn()+":"+unique.getValue()+"/";
     extantids=new Hashtable();
   }
-
+  /**
+   * values for keys in this hash can be used to reference the org.vamsas.client.object instance for the VorbaId string.
+   * @return the hash of all VorbaIds
+   */
+  protected Hashtable getVorbaIdHash() {
+    return extantids;
+  }
+  
   /* (non-Javadoc)
    * @see org.vamsas.client.VorbaIdFactory#makeVorbaId()
    */
@@ -133,6 +140,6 @@ public class IdFactory extends VorbaIdFactory {
       clientname="org.vamsas.client.simpleclient.IdFactory";
     return new IdFactory(new SessionHandle("dummy.session"), 
         new ClientHandle(clientname,VersionEntries.latestVersion()), 
-        new UserHandle("arnoldUser", "none"));
+        new UserHandle(clientname, "Arnold User's Inc."));
   }
 }