new constructor to pass hash of Vobject hash values to unmarshalling mechanism for...
[vamsas.git] / 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
    */