Class DataTableSort


  • public class DataTableSort
    extends java.lang.Object
    The Class DataTableSort.
    • Constructor Summary

      Constructors 
      Constructor Description
      DataTableSort​(java.lang.String strSortKey, boolean bAscSort)
      Creates a new DataTableSort
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean getAscSort()
      Check if the sort is ascending
      java.lang.String getSortKey()
      Get the sort key
      void setAscSort​(boolean bAscSort)
      Set the ascending sort boolean
      void setSortKey​(java.lang.String strSortKey)
      Set the sort key
      • Methods inherited from class java.lang.Object

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

      • DataTableSort

        public DataTableSort​(java.lang.String strSortKey,
                             boolean bAscSort)
        Creates a new DataTableSort
        Parameters:
        strSortKey - The key of the sort
        bAscSort - True if the sort is ascending, false otherwise
    • Method Detail

      • getSortKey

        public java.lang.String getSortKey()
        Get the sort key
        Returns:
        The sort key
      • setSortKey

        public void setSortKey​(java.lang.String strSortKey)
        Set the sort key
        Parameters:
        strSortKey - The sort key
      • getAscSort

        public boolean getAscSort()
        Check if the sort is ascending
        Returns:
        True if the sort is ascending, false otherwise
      • setAscSort

        public void setAscSort​(boolean bAscSort)
        Set the ascending sort boolean
        Parameters:
        bAscSort - True if the sort is ascending, false otherwise