From: jprocter Date: Tue, 20 Mar 2007 14:16:33 +0000 (+0000) Subject: new constructor to pass hash of Vobject hash values to unmarshalling mechanism for... X-Git-Tag: Release_0.2~153 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a58babf784307ab0208efd48fcba32eecc348a7e;p=vamsas.git new constructor to pass hash of Vobject hash values to unmarshalling mechanism for comparison with document objects. git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@367 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/src/uk/ac/vamsas/client/simpleclient/IdFactory.java b/src/uk/ac/vamsas/client/simpleclient/IdFactory.java index dff2fe4..35795cb 100644 --- a/src/uk/ac/vamsas/client/simpleclient/IdFactory.java +++ b/src/uk/ac/vamsas/client/simpleclient/IdFactory.java @@ -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 */