|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.vamsas.client.VorbaIdFactory
uk.ac.vamsas.client.simpleclient.IdFactory
Simplest VorbaId constructor
Field Summary |
Fields inherited from class uk.ac.vamsas.client.VorbaIdFactory |
extanthashv, extantids, newobj |
Constructor Summary | |
|
IdFactory()
|
protected |
IdFactory(SessionHandle session,
ClientHandle client,
UserHandle user)
|
protected |
IdFactory(SessionHandle session,
ClientHandle client,
UserHandle user,
java.util.Hashtable extanthashv)
Create IdFactory with existing object hashes and id set |
Method Summary | |
ClientHandle |
getClientHandle()
|
protected static IdFactory |
getDummyFactory(java.lang.String clientname)
Convenience method used for default behaviour in testing and any anonymous internal vamsasDocument unmarshalling |
SessionHandle |
getSessionHandle()
|
UserHandle |
getUserHandle()
|
protected java.util.Hashtable |
getVobjhashVals()
values for keys in this hash are Vobjhash objects created for each Vobj with a VorbaId after this factory has been used to write a vamsas archive. |
protected java.util.Hashtable |
getVorbaIdHash()
values for keys in this hash can be used to reference the uk.ac.vamsas.client.Vobject instance for the VorbaId string. |
VorbaId |
makeVorbaId(Vobject vobject)
construct a new id appropriate for this client in the vamsas session. |
protected void |
setClient(ClientHandle appHandle)
|
protected void |
setSession(SessionHandle sessionhandle)
TODO: decide if these are needed. |
protected void |
setUser(UserHandle userHandle)
|
Methods inherited from class uk.ac.vamsas.client.VorbaIdFactory |
newId, setNewIdHash, updateHashValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IdFactory()
protected IdFactory(SessionHandle session, ClientHandle client, UserHandle user)
session
- client
- user
- protected IdFactory(SessionHandle session, ClientHandle client, UserHandle user, java.util.Hashtable extanthashv)
session
- client
- user
- extanthashv
- hash of existing VorbaIds from a previous read of same documentMethod Detail |
protected java.util.Hashtable getVorbaIdHash()
protected java.util.Hashtable getVobjhashVals()
public VorbaId makeVorbaId(Vobject vobject)
VorbaIdFactory
makeVorbaId
in interface IVorbaIdFactory
makeVorbaId
in class VorbaIdFactory
protected void setSession(SessionHandle sessionhandle)
VorbaIdFactory
setSession
in class VorbaIdFactory
public SessionHandle getSessionHandle()
getSessionHandle
in interface IVorbaIdFactory
getSessionHandle
in class VorbaIdFactory
protected void setClient(ClientHandle appHandle)
setClient
in class VorbaIdFactory
public ClientHandle getClientHandle()
getClientHandle
in interface IVorbaIdFactory
getClientHandle
in class VorbaIdFactory
protected void setUser(UserHandle userHandle)
setUser
in class VorbaIdFactory
public UserHandle getUserHandle()
getUserHandle
in interface IVorbaIdFactory
getUserHandle
in class VorbaIdFactory
protected static IdFactory getDummyFactory(java.lang.String clientname)
clientname
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |