Class PrintDataFunction


  • public class PrintDataFunction
    extends Object
    Print Data Function
    Version:
    $Id: PrintDataFunction.java,v 1.3 2006/07/30 00:53:02 jjanke Exp $
    Author:
    Jorg Janke, Teo Sarca, SC ARHIPAC SERVICE SRL
  • BF [ 1789279 ] DisplayType for group columns are incorect
    • Constructor Detail

      • PrintDataFunction

        public PrintDataFunction()
        Constructor
    • Method Detail

      • addValue

        public void addValue​(BigDecimal bd)
        Add Value to Counter
        Parameters:
        bd - data
      • getValue

        public BigDecimal getValue​(char function)
        Get Function Value
        Parameters:
        function - function
        Returns:
        function value
      • reset

        public void reset()
        Reset Value
      • toString

        public String toString()
        String Representation
        Overrides:
        toString in class Object
        Returns:
        info
      • getFunctionSymbol

        public static String getFunctionSymbol​(char function)
        Get Function Symbol of function
        Parameters:
        function - function
        Returns:
        function symbol
      • getFunctionName

        public static String getFunctionName​(char function)
        Get Function Name of function
        Parameters:
        function - function
        Returns:
        function name
      • getFunctionDisplayType

        public static int getFunctionDisplayType​(char function,
                                                 int displayType)
        Get DisplayType of function
        Parameters:
        function - function
        displayType - columns display type
        Returns:
        function name