Package com.atlassian.bamboo.oid
Class IdGeneratorEntity
java.lang.Object
com.atlassian.bamboo.oid.IdGeneratorEntity
- All Implemented Interfaces:
IdGenerator
Entity to hold id generator values in hibernate.
It has next id value for some arbitrary names.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
IdGeneratorEntity
public IdGeneratorEntity() -
IdGeneratorEntity
-
-
Method Details
-
getName
Description copied from interface:IdGenerator
Name of id generator- Specified by:
getName
in interfaceIdGenerator
-
getNextId
public long getNextId()Description copied from interface:IdGenerator
Next id for this generator- Specified by:
getNextId
in interfaceIdGenerator
-
setName
-
setNextId
public void setNextId(long nextId)
-