git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@455
be28352e-c001-0410-b1a7-
c7978e42abec
*/
package uk.ac.vamsas.client;
*/
package uk.ac.vamsas.client;
+import java.io.Serializable;
+
/**
* The unique reference id for a Vamsas document Vobject,
* used by applications to refer to the vamsas Vobject
* within their own data space in the vamsas document.
/**
* The unique reference id for a Vamsas document Vobject,
* used by applications to refer to the vamsas Vobject
* within their own data space in the vamsas document.
- * TODO: decide if VorbaId should contain a reference
- * to either the IVorbaIdFactory that made it or the
- * IClient that defines the session (it might be
- * convenient).
+ * This is serializable (thanks to Dominik Lindner) so an
+ * application can store it easily.
+public class VorbaId implements Serializable {
+ /**
+ * 1 is first vamsas release ID version.
+ */
+ private static final long serialVersionUID = 1L;
protected String id;
protected VorbaId() {
super();
protected String id;
protected VorbaId() {
super();