org.kuali.rice.krad.data.platform.testincrementers
Class CustomIncrementerMySQLVersion5
java.lang.Object
org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
org.springframework.jdbc.support.incrementer.AbstractColumnMaxValueIncrementer
org.kuali.rice.krad.data.platform.testincrementers.CustomIncrementerMySQLVersion5
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer
public class CustomIncrementerMySQLVersion5
- extends org.springframework.jdbc.support.incrementer.AbstractColumnMaxValueIncrementer
Mock incrementer used to test custom incrementers
Fields inherited from class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer |
paddingLength |
Methods inherited from class org.springframework.jdbc.support.incrementer.AbstractColumnMaxValueIncrementer |
afterPropertiesSet, getCacheSize, getColumnName, setCacheSize, setColumnName |
Methods inherited from class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer |
getDataSource, getIncrementerName, getPaddingLength, setDataSource, setIncrementerName, setPaddingLength |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomIncrementerMySQLVersion5
public CustomIncrementerMySQLVersion5()
nextIntValue
public int nextIntValue()
throws org.springframework.dao.DataAccessException
- Specified by:
nextIntValue
in interface org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer
- Overrides:
nextIntValue
in class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
- Throws:
org.springframework.dao.DataAccessException
nextLongValue
public long nextLongValue()
throws org.springframework.dao.DataAccessException
- Specified by:
nextLongValue
in interface org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer
- Overrides:
nextLongValue
in class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
- Throws:
org.springframework.dao.DataAccessException
nextStringValue
public String nextStringValue()
throws org.springframework.dao.DataAccessException
- Specified by:
nextStringValue
in interface org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer
- Overrides:
nextStringValue
in class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
- Throws:
org.springframework.dao.DataAccessException
getNextKey
protected long getNextKey()
- Specified by:
getNextKey
in class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.