com.opensymphony.ejb
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Field Summary | |
protected javax.ejb.EntityContext |
context
Reference to EntityContext. |
protected java.lang.String |
sequenceName
Name of the auto-generating sequence. |
| Constructor Summary | |
AbstractEntityAdapter()
|
|
| Method Summary | |
protected java.lang.String |
generateGUID()
Generate random GUID. |
protected PropertySet |
locatePropertySet(long id)
Locate PropertySet using PropertyStore for this sequenceName/sequenceId mapping. |
protected int |
nextId()
Deprecated. Use nextInt() or nextLong() instead. |
protected int |
nextInt()
Return int unique id key from a unique instance key generator. |
protected long |
nextLong()
Return long unique id key from a unique instance key generator. |
protected void |
setContext(javax.ejb.EntityContext context)
Sets the context - should be used only by direct subclasses Also, attempts to determine the sequenceName. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected javax.ejb.EntityContext context
protected java.lang.String sequenceName
| Constructor Detail |
public AbstractEntityAdapter()
| Method Detail |
protected void setContext(javax.ejb.EntityContext context)
sequenceName.
protected java.lang.String generateGUID()
GUIDprotected PropertySet locatePropertySet(long id) throws java.rmi.RemoteException
java.rmi.RemoteException
protected int nextId()
throws javax.ejb.CreateException,
java.rmi.RemoteException
nextInt() or nextLong() instead.
javax.ejb.CreateException
java.rmi.RemoteException
protected int nextInt()
throws javax.ejb.CreateException,
java.rmi.RemoteException
javax.ejb.CreateException
java.rmi.RemoteException
protected long nextLong()
throws javax.ejb.CreateException,
java.rmi.RemoteException
javax.ejb.CreateException
java.rmi.RemoteException
|
See www.opensymphony.com for more information. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||