* The unique reference id for a Vamsas document object,
* used by applications to refer to the vamsas object
* 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).
* @author jimp
*/
public class VorbaId {
protected String id;
- public static VorbaId newId(VorbaIdFactory vorbaObject) {
+ private VorbaId(String Id) {
+ id = Id;
+ }
+ protected static VorbaId newId(IVorbaIdFactory vorbaObject) {
// Make unique id from appSpace info in vorbaObject
synchronized (vorbaObject) {
return vorbaObject.makeVorbaId();