Class FormItemSortConfig


  • public class FormItemSortConfig
    extends java.lang.Object
    Configuration class for compare FormResponseItem
    • Constructor Summary

      Constructors 
      Constructor Description
      FormItemSortConfig​(int nColumnToSortPosition, java.lang.String strSortAttributeName, boolean bAscSort)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getColumnToSortPosition()
      Return the position of the column to sort
      java.lang.String getSortAttributeName()
      Return the name of the attribute of the column to sort
      boolean isAscSort()
      Return the boolean which tell if the sort of the values of the column must be ascendant or descendant
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FormItemSortConfig

        public FormItemSortConfig​(int nColumnToSortPosition,
                                  java.lang.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 java.lang.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