Class OdfReferenceTableHelper.SortField

    • Constructor Detail

      • SortField

        public SortField​(String name,
                         boolean ascending)
        Create a sort field
        Parameters:
        name - the name of field to sort on
        ascending - true to sort in ascending order, false otherwise
      • SortField

        public SortField​(String name,
                         boolean ascending,
                         boolean normalize)
        Create a sort field
        Parameters:
        name - the name of field to sort on
        ascending - true to sort in ascending order, false otherwise
        normalize - true to normalize string properties (remove accents and lower case)
    • Method Detail

      • getName

        public String getName()
        Get the name of the sort field
        Returns:
        the name of the sort field
      • getAscending

        public boolean getAscending()
        Get the order for sorting results
        Returns:
        true to sort results in ascending order, false otherwise
      • getNormalize

        public boolean getNormalize()
        Return the normalize status for this sort field
        Returns:
        true if string properties should be normalized (remove accents and lower case)