Class MLBRFormula

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_LBR_Formula, I_Persistent, Evaluatee

public class MLBRFormula extends X_LBR_Formula
See Also:
  • Constructor Details

    • MLBRFormula

      public MLBRFormula(Properties ctx, int LBR_Formula_ID, String trxName)
      Default Constructor
      Parameters:
      Properties - ctx
      int - ID (0 create new)
      String - trx
    • MLBRFormula

      public MLBRFormula(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
      Parameters:
      ctx - context
      rs - result set record
      trxName - transaction
    • MLBRFormula

      public MLBRFormula(Properties ctx, int LBR_Formula_ID, String trxName, String... virtualColumns)
    • MLBRFormula

      public MLBRFormula(Properties ctx, String LBR_Formula_UU, String trxName, String... virtualColumns)
    • MLBRFormula

      public MLBRFormula(Properties ctx, String LBR_Formula_UU, String trxName)
  • Method Details

    • parseFormulas

      public static void parseFormulas(bsh.Interpreter bsh) throws bsh.EvalError
      Set formulas to BSH
      Parameters:
      Interpreter -
      Throws:
      bsh.EvalError
    • parseFormulas

      public static String parseFormulas(String formula)
      ** Recursivo ** Ajusta as formulas recursivas
      Parameters:
      Formula -
    • getFormulas

      public static MLBRFormula[] getFormulas()
      Get All Formulas from client
      Returns:
      All formulas
    • toString

      public String toString()
      To String
      Overrides:
      toString in class X_LBR_Formula
      Returns:
      String representation
    • main

      public static void main(String[] args)