Interface ReportSort

    • Method Detail

      • getSortOrder

        Long getSortOrder()
        Get the value for SortOrder. (The priority ordered of the sort.) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • isAscending

        boolean isAscending()
        Get the value for Ascending. (Whether the sort is ascending or not.)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setSortOrder

        void setSortOrder​(Long newSortOrder)
        Set the value for SortOrder. (The priority ordered of the sort.) This value is mandatory.
        Parameters:
        newSortOrder - the new value for SortOrder. If this is null, then the object cannot be persisted.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setAscending

        void setAscending​(boolean newAscending)
        Set the value for Ascending. (Whether the sort is ascending or not.)
        Parameters:
        newAscending - the new value for Ascending.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setReportColumn

        void setReportColumn​(ReportColumn newReportColumn)
        Set the value for ReportColumn. This value is mandatory.
        Parameters:
        newReportColumn - is the object to set ReportColumn to. The ReportColumn of this ReportSort If this is null, then the object cannot be persisted.