Class MaxValueIncrementerFactoryBean

java.lang.Object
org.kuali.rice.krad.data.platform.MaxValueIncrementerFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer>, org.springframework.beans.factory.InitializingBean

public class MaxValueIncrementerFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer>, org.springframework.beans.factory.InitializingBean
A factory bean for putting a DataFieldMaxValueIncrementer in the Spring context.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Details

    • MaxValueIncrementerFactoryBean

      public MaxValueIncrementerFactoryBean()
  • Method Details

    • getObject

      public org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer getObject() throws Exception
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer>
      Throws:
      Exception
    • getObjectType

      public Class<org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer>
    • isSingleton

      public boolean isSingleton()
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer>
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • getDataSource

      public DataSource getDataSource()
      Gets the DataSource for which to retrieve the incrementer.
      Returns:
      the DataSource for which to retrieve the incrementer.
    • setDataSource

      public void setDataSource(DataSource dataSource)
      Setter for the DataSource.
      Parameters:
      dataSource - the DataSource for which to retrieve the incrementer.
    • getIncrementerName

      public String getIncrementerName()
      Gets the name of the incrementer.
      Returns:
      the name of the incrementer.
    • setIncrementerName

      public void setIncrementerName(String incrementerName)
      Setter for the incrementer name.
      Parameters:
      incrementerName - the name of the incrementer.