Class FormItemSortConfig


  • public class FormItemSortConfig
    extends Object
    Configuration class for compare FormResponseItem
    • Constructor Detail

      • FormItemSortConfig

        public FormItemSortConfig​(int nColumnToSortPosition,
                                  String strSortAttributeName,
                                  boolean bAscSort)
        Constructor
        Parameters:
        nColumnToSortPosition - The position of the column to sort
        strSortAttributeName - The name of the attribute of the column to sort
        bAscSort - The boolean which tell if the sort must be ascendant or descendant
    • Method Detail

      • getColumnToSortPosition

        public int getColumnToSortPosition()
        Return the position of the column to sort
        Returns:
        the position of the column sort
      • getSortAttributeName

        public String getSortAttributeName()
        Return the name of the attribute of the column to sort
        Returns:
        the name of the attribute of the column to sort
      • isAscSort

        public boolean isAscSort()
        Return the boolean which tell if the sort of the values of the column must be ascendant or descendant
        Returns:
        the boolean which tell if the values of the column must be ascendant or descendant