Interface Order

  • All Superinterfaces:
    java.io.Serializable

    public interface Order
    extends java.io.Serializable
    Order a field.
    Author:
    Abe White
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ELEMENT
      Token denoting to order by the element value.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Comparator getComparator()
      Return a comparator for ordering by this element, or null if the ordering is done in the datastore.
      java.lang.String getName()
      Return the name of the orderable.
      boolean isAscending()
      Order direction.
    • Field Detail

      • ELEMENT

        static final java.lang.String ELEMENT
        Token denoting to order by the element value.
        See Also:
        Constant Field Values
    • Method Detail

      • getName

        java.lang.String getName()
        Return the name of the orderable.
      • isAscending

        boolean isAscending()
        Order direction.
      • getComparator

        java.util.Comparator getComparator()
        Return a comparator for ordering by this element, or null if the ordering is done in the datastore.