Package org.openxava.calculators
Class NextLongCalculator
java.lang.Object
org.openxava.calculators.NextLongCalculator
- All Implemented Interfaces:
Serializable,ICalculator,IJDBCCalculator
- Author:
- Javier Paniza
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetModel()voidsetConnectionProvider(IConnectionProvider provider) This method is call from the system to provide a JDBC connection provider.voidvoidsetProperty(String property)
-
Constructor Details
-
NextLongCalculator
public NextLongCalculator()
-
-
Method Details
-
setConnectionProvider
Description copied from interface:IJDBCCalculatorThis method is call from the system to provide a JDBC connection provider.When the calculate method is called this method alredy has been called with a valid connection provider.
- Specified by:
setConnectionProviderin interfaceIJDBCCalculator
-
calculate
- Specified by:
calculatein interfaceICalculator- Throws:
Exception
-
calculateNextLong
- Throws:
Exception
-
getModel
-
setModel
-
getProperty
-
setProperty
-