Package org.nuxeo.ecm.platform.uidgen
Class UIDSequenceBean
- java.lang.Object
-
- org.nuxeo.ecm.platform.uidgen.UIDSequenceBean
-
public class UIDSequenceBean extends Object
UID entity - keeps last indexes of all generated UIDs.
-
-
Constructor Summary
Constructors Constructor Description UIDSequenceBean()
Default constructor needed for EJB container instantiation.UIDSequenceBean(String key)
Constructor taking as argument the key for which this sequence is created.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getId()
int
getIndex()
String
getKey()
int
nextIndex()
void
setId(int id)
void
setKey(String key)
static String
stringify(UIDSequenceBean bean)
String
toString()
-
-
-
Constructor Detail
-
UIDSequenceBean
public UIDSequenceBean()
Default constructor needed for EJB container instantiation.
-
UIDSequenceBean
public UIDSequenceBean(String key)
Constructor taking as argument the key for which this sequence is created. The index is defaulted to 1.
-
-