Class NextLongCalculator

java.lang.Object
org.openxava.calculators.NextLongCalculator
All Implemented Interfaces:
Serializable, ICalculator, IJDBCCalculator

public class NextLongCalculator extends Object implements IJDBCCalculator
Author:
Javier Paniza
See Also:
  • Constructor Details

    • NextLongCalculator

      public NextLongCalculator()
  • Method Details

    • 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 Object calculate() throws Exception
      Specified by:
      calculate in interface ICalculator
      Throws:
      Exception
    • calculateNextLong

      public long calculateNextLong() throws Exception
      Throws:
      Exception
    • getModel

      public String getModel()
    • setModel

      public void setModel(String model)
    • getProperty

      public String getProperty()
    • setProperty

      public void setProperty(String property)