org.openxava.calculators
Class NextLongCalculator
java.lang.Object
org.openxava.calculators.NextLongCalculator
- All Implemented Interfaces:
- java.io.Serializable, ICalculator, IJDBCCalculator
public class NextLongCalculator
- extends java.lang.Object
- implements IJDBCCalculator
- Author:
- Javier Paniza
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NextLongCalculator
public NextLongCalculator()
setConnectionProvider
public void setConnectionProvider(IConnectionProvider provider)
- Description copied from interface:
IJDBCCalculator
- This 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:
setConnectionProvider in interface IJDBCCalculator
calculate
public java.lang.Object calculate()
throws java.lang.Exception
- Specified by:
calculate in interface ICalculator
- Throws:
java.lang.Exception
calculateNextLong
public long calculateNextLong()
throws java.lang.Exception
- Throws:
java.lang.Exception
getModel
public java.lang.String getModel()
setModel
public void setModel(java.lang.String model)
getProperty
public java.lang.String getProperty()
setProperty
public void setProperty(java.lang.String property)