Class OrderByItemImpl

java.lang.Object
org.apache.olingo.server.core.uri.queryoption.OrderByItemImpl
All Implemented Interfaces:
OrderByItem

public class OrderByItemImpl extends Object implements OrderByItem
  • Constructor Details

    • OrderByItemImpl

      public OrderByItemImpl()
  • Method Details

    • isDescending

      public boolean isDescending()
      Description copied from interface: OrderByItem
      Returns the sort order of the orderby item
      Specified by:
      isDescending in interface OrderByItem
      Returns:
      if false (default) the sort order is ascending, if true the sort order is descending
    • setDescending

      public OrderByItemImpl setDescending(boolean descending)
    • getExpression

      public Expression getExpression()
      Specified by:
      getExpression in interface OrderByItem
      Returns:
      Expression which is used to order the items
    • setExpression

      public OrderByItemImpl setExpression(Expression expression)