Class MLBRTaxFormula

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

public class MLBRTaxFormula extends X_LBR_TaxFormula
Fórmulas relacionadas no cadastro dos impostos
Version:
$Id: MLBRTaxFormula.java, v1.0 2011/04/20 7:45:45 PM, ralexsander Exp $
Author:
Ricardo Santana (Kenos, www.kenos.com.br)
  • Sponsored by Soliton, www.soliton.com.br
  • See Also:
    • Constructor Details

      • MLBRTaxFormula

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

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

        public MLBRTaxFormula(Properties ctx, int LBR_TaxFormula_ID, String trxName, String... virtualColumns)
      • MLBRTaxFormula

        public MLBRTaxFormula(Properties ctx, String LBR_TaxFormula_UU, String trxName, String... virtualColumns)
      • MLBRTaxFormula

        public MLBRTaxFormula(Properties ctx, String LBR_TaxFormula_UU, String trxName)
    • Method Details

      • getFormula

        public String getFormula(boolean isTaxIncluded)
        Retorna a formula para cálculo do fator. Este fator multiplicado pelo valor irá gerar a base de cálculo para cálculo do imposto.
        Parameters:
        isTaxIncluded -
        Returns:
        formula
      • getFormula

        public String getFormula()
        Load the formula
        Returns:
        formula
      • getFormulaNetWorth

        public String getFormulaNetWorth()
        Load the formula
        Returns:
        formula
      • toString

        public String toString()
        To String
        Overrides:
        toString in class X_LBR_TaxFormula
        Returns:
        String representation