Class IdGeneratorEntity

java.lang.Object
com.atlassian.bamboo.oid.IdGeneratorEntity
All Implemented Interfaces:
IdGenerator

public class IdGeneratorEntity extends Object implements IdGenerator
Entity to hold id generator values in hibernate. It has next id value for some arbitrary names.
  • Constructor Details

    • IdGeneratorEntity

      public IdGeneratorEntity()
    • IdGeneratorEntity

      public IdGeneratorEntity(@NotNull @NotNull String name, long nextId)
  • Method Details

    • getName

      public String getName()
      Description copied from interface: IdGenerator
      Name of id generator
      Specified by:
      getName in interface IdGenerator
    • getNextId

      public long getNextId()
      Description copied from interface: IdGenerator
      Next id for this generator
      Specified by:
      getNextId in interface IdGenerator
    • setName

      public void setName(String name)
    • setNextId

      public void setNextId(long nextId)