Interface QueryColumn

  • All Superinterfaces:
    Wrapper

    public interface QueryColumn
    extends Wrapper
    Representation of database column in the result of a query.
    See Also:
    Query
    • Method Detail

      • isShowableZeroValue

        boolean isShowableZeroValue()
        If true, the column will display nothing for zero values.
        Returns:
        True if the column must not display "0" as a value, but "" instead.
      • getName

        String getName()
        This method returns the name of the column for use in a header on a page.
        Returns:
        The name of the column on a page
      • getFieldName

        String getFieldName()
        This method returns the name of the column as it is used in a query.
        Returns:
        The name of the column in a query
      • isShowableColumn

        boolean isShowableColumn()
        If true, the column will be displayed.
        Returns:
        true if the column must be displayed, false otherwise.
      • isSortable

        boolean isSortable()
        This method returns true if the column may be sorted by clicking on the header.
        Returns:
        true if the column may be sorted, false otherwise.
      • alwaysIndex

        boolean alwaysIndex()
        This method returns true if the column must always be indexed.
        Returns:
        true if the column must always be indexed, false otherwise.
      • getWidth

        String getWidth()
        This method will return the width for use in the width attribute of a HTML table tag.
        Returns:
        The width of the table used to display the results.
      • getLink

        QueryColumnLink getLink()
        This method will return the width for use in the width attribute of a HTML table tag.
        Returns:
        The width of the table used to display the results.