new constructor to pass hash of Vobject hash values to unmarshalling mechanism for...
authorjprocter <jprocter@compbio.dundee.ac.uk>
Tue, 20 Mar 2007 14:16:33 +0000 (14:16 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Tue, 20 Mar 2007 14:16:33 +0000 (14:16 +0000)
git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@367 be28352e-c001-0410-b1a7-c7978e42abec

src/uk/ac/vamsas/client/simpleclient/IdFactory.java

index dff2fe4..35795cb 100644 (file)
@@ -55,6 +55,17 @@ public class IdFactory extends VorbaIdFactory {
     this.extanthashv=new Hashtable();
   }
   /**
+   * Create IdFactory with existing object hashes and id set
+   * @param session
+   * @param client
+   * @param user
+   * @param extanthashv hash of existing VorbaIds from a previous read of same document
+   */
+  protected IdFactory(SessionHandle session, ClientHandle client, UserHandle user, Hashtable extanthashv) {
+    this(session, client, user);
+    this.extanthashv = extanthashv;
+  }
+  /**
    * values for keys in this hash can be used to reference the uk.ac.vamsas.client.Vobject instance for the VorbaId string.
    * @return the hash of all VorbaIds
    */