Class RelationQuery.OrderSpec

java.lang.Object
de.hybris.platform.servicelayer.search.RelationQuery.OrderSpec
Enclosing class:
RelationQuery

public class RelationQuery.OrderSpec extends Object
The Class OrderSpec. Each instance of OrderSpec defines an attribute and whether we want to sort ascending or descending on it.
  • Constructor Details

    • OrderSpec

      public OrderSpec(String attribute, RelationQuery.ORDERING ascending)
      Instantiates a new order spec.
      Parameters:
      attribute - the attribute
      ascending - the ascending
  • Method Details

    • getAttribute

      public String getAttribute()
      Gets the attribute.
      Returns:
      the attribute
    • isAscending

      public boolean isAscending()
      Checks if is ascending.
      Returns:
      true, if is ascending