From a58babf784307ab0208efd48fcba32eecc348a7e Mon Sep 17 00:00:00 2001 From: jprocter Date: Tue, 20 Mar 2007 14:16:33 +0000 Subject: [PATCH] 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 --- src/uk/ac/vamsas/client/simpleclient/IdFactory.java | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 */ -- 1.7.10.2