|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
EJB that represents a sequence identified by a key. Using this EJB we can get the next value, do a reset of the value or remove it.
Method Summary | |
java.lang.String |
getKey()
Get the key for this sequence. |
long |
getValue()
Get the value for the sequence. |
long |
nextValue()
Get the next value for the sequence. |
void |
setKey(java.lang.String key)
Set the key for this sequence. |
void |
setValue(long value)
Reset the value of the sequence for the given value. |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
public long nextValue() throws java.rmi.RemoteException
public long getValue() throws java.rmi.RemoteException
public void setValue(long value) throws java.rmi.RemoteException
value
- value to be updated in the sequencepublic void setKey(java.lang.String key)
key
- key to be set in this sequence.public java.lang.String getKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |