Class RepositoryBoIncrementer
java.lang.Object
org.kuali.rice.krms.impl.repository.RepositoryBoIncrementer
Class used to help migrate KRMS BOs to use DataFieldMaxValueIncrementer
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNewId()Returns the next available id value.voidsetDataFieldMaxValueIncrementer(org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer boIncrementer) Set the incrementer, useful for testing.
-
Constructor Details
-
RepositoryBoIncrementer
-
-
Method Details
-
setDataFieldMaxValueIncrementer
public void setDataFieldMaxValueIncrementer(org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer boIncrementer) Set the incrementer, useful for testing.- Parameters:
boIncrementer- DataFieldMaxValueIncrementer to use for getNewId()
-
getNewId
Returns the next available id value.- Returns:
- String the next available id
-