com.vaadin.data.util.sqlcontainer.query.

Class OrderBy

  • All Implemented Interfaces:

    Serializable

    public class OrderBy
    extends Object
    implements Serializable

    OrderBy represents a sorting rule to be applied to a query made by the SQLContainer's QueryDelegate. The sorting rule is simple and contains only the affected column's name and the direction of the sort.

    See Also:

    Serialized Form

    • Constructor Detail

      • OrderBy

        public OrderBy​(String column,
                       boolean isAscending)
    • Method Detail

      • setColumn

        public void setColumn​(String column)
      • getColumn

        public String getColumn()
      • setAscending

        public void setAscending​(boolean isAscending)
      • isAscending

        public boolean isAscending()