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 * A VorbaIdFactory is constructed by an IClient instance.
11 * It guarantees that any new VorbaId objects are unique
12 * within the VAMSAS session.
16 public abstract class VorbaIdFactory implements IVorbaIdFactory {
18 * construct a new id appropriate for this client in the vamsas session.
20 * @return valid VorbaId for session, or null if VorbaIdFactory not configured
23 public abstract VorbaId makeVorbaId();
25 * TODO: decide if these are needed.
27 * @param sessionHandle
29 protected abstract void setSession(SessionHandle sessionhandle);
31 public abstract SessionHandle getSessionHandle();
33 protected abstract void setClient(ClientHandle appHandle);
35 public abstract ClientHandle getClientHandle();
37 protected abstract void setUser(UserHandle userHandle);
39 public abstract UserHandle getUserHandle();