Class UIDSequenceBean


  • public class UIDSequenceBean
    extends Object
    UID entity - keeps last indexes of all generated UIDs.
    • Field Detail

      • log

        public static final Log log
      • id

        protected int id
    • 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.
    • Method Detail

      • getId

        public int getId()
      • setId

        public void setId​(int id)
      • getKey

        public String getKey()
      • setKey

        public void setKey​(String key)
      • getIndex

        public int getIndex()
      • nextIndex

        public int nextIndex()