object registration functions return an Id for the object.
[vamsas.git] / src / org / vamsas / client / VorbaIdFactory.java
1 /*
2  * Created on 12-Sep-2005
3  *
4  * TODO To change the template for this generated file go to
5  * Window - Preferences - Java - Code Style - Code Templates
6  */
7 package org.vamsas.client;
8
9 /**
10  * @author jimp
11  *
12  * TODO To change the template for this generated type comment go to
13  * Window - Preferences - Java - Code Style - Code Templates
14  */
15 public interface VorbaIdFactory {
16   /**
17    * construct a new id appropriate for this 
18    * client in the vamsas session.
19    * @return valid VorbaId for session, or null if VorbaIdFactory not configured correctly.
20    */
21   public VorbaId makeVorbaId();
22   void setSession(SessionHandle sessionHandle);
23   public SessionHandle getSession();
24   void setClient(ClientHandle appHandle);
25   public ClientHandle getClient();
26   void setUser(UserHandle userHandle);
27   public UserHandle getUser();
28 }