Class RelationQuery.OrderSpec
java.lang.Object
de.hybris.platform.servicelayer.search.RelationQuery.OrderSpec
- Enclosing class:
- RelationQuery
The Class OrderSpec. Each instance of OrderSpec defines an attribute and whether we want to sort ascending or
descending on it.
-
Constructor Summary
ConstructorsConstructorDescriptionOrderSpec(String attribute, RelationQuery.ORDERING ascending) Instantiates a new order spec. -
Method Summary
Modifier and TypeMethodDescriptionGets the attribute.booleanChecks if is ascending.
-
Constructor Details
-
OrderSpec
Instantiates a new order spec.- Parameters:
attribute- the attributeascending- the ascending
-
-
Method Details
-
getAttribute
Gets the attribute.- Returns:
- the attribute
-
isAscending
public boolean isAscending()Checks if is ascending.- Returns:
- true, if is ascending
-