2 * Created on 12-Sep-2005
4 * TODO To change the template for this generated file go to
5 * Window - Preferences - Java - Code Style - Code Templates
7 package org.vamsas.client;
10 * The unique reference id for a Vamsas document object,
11 * used by applications to refer to the vamsas object
12 * within their own data space in the vamsas document.
13 * TODO: decide if VorbaId should contain a reference
14 * to either the IVorbaIdFactory that made it or the
15 * IClient that defines the session (it might be
19 public class VorbaId {
24 private VorbaId(String Id) {
28 protected static VorbaId newId(IVorbaIdFactory vorbaObject) {
29 // Make unique id from appSpace info in vorbaObject
30 synchronized (vorbaObject) {
31 return vorbaObject.makeVorbaId();
34 protected static VorbaId newId(String id) {
35 return new VorbaId(id);
38 * @return Returns the id.
40 public String getId() {