From: jprocter Date: Wed, 14 Sep 2005 15:25:38 +0000 (+0000) Subject: object registration functions return an Id for the object. X-Git-Tag: Release_0.2~511 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=82b0cf6b7a7757af4e2690a186f066ff0de001bc;p=vamsas.git object registration functions return an Id for the object. git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@9 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/src/org/vamsas/client/IClientDocument.java b/src/org/vamsas/client/IClientDocument.java index df20713..26223fb 100644 --- a/src/org/vamsas/client/IClientDocument.java +++ b/src/org/vamsas/client/IClientDocument.java @@ -57,16 +57,16 @@ public interface IClientDocument { * application may refer to it in its own dataspace. * Note: An object with valid VorbaId will not be reregistered. * @param unregistered unregistered vamsas object - * @return registered vamsas object + * @return VorbaId registered for vamsas object */ - object registerObject(object unregistered); + VorbaId registerObject(object unregistered); /** * Returns an array of objects, each with a valid VorbaId. * Note: An object with valid VorbaId will not be reregistered. * @param unregistered array of unregistered objects. - * @return array of registered objects + * @return array of VorbaIds for the registered objects */ - object[] registerObjects(object[] unregistered); + VorbaId[] registerObjects(object[] unregistered); /** * Gets the application data associated with this session's * vamsas document that is accessible by the client