public class AttributeOrder
extends org.eclipse.stardust.engine.api.query.AbstractSingleOrderCriterion
OrderCriteria,
Serialized Form| Constructor and Description |
|---|
AttributeOrder(FilterableAttribute attribute)
Creates a criterion for ordering by ascending attribute values.
|
AttributeOrder(FilterableAttribute attribute,
boolean ascending)
Creates a criterion for ordering by either ascending or descending attribute values.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(OrderEvaluationVisitor visitor,
Object context)
Visitor dispatch callback used for evaluating order criteria.
|
String |
getAttribute()
Deprecated.
Use
getAttributeName() instead. |
String |
getAttributeName()
Gets the name of the attribute to order by.
|
public AttributeOrder(FilterableAttribute attribute)
attribute - The attribute to order by.AttributeOrder(FilterableAttribute, boolean)public AttributeOrder(FilterableAttribute attribute, boolean ascending)
attribute - ascending - public String getAttribute()
getAttributeName() instead.public String getAttributeName()
public Object accept(OrderEvaluationVisitor visitor, Object context)
OrderCriterionreturn visitor.visit(this, context), thus calling the appropriately
overloaded visitation method.visitor - The visitor performing the evaluation.context - Information used by the visitor during the visitation process.Copyright © 2016 Eclipse Stardust. All Rights Reserved.