|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.stardust.engine.api.query.AbstractSingleOrderCriterion
org.eclipse.stardust.engine.api.query.AttributeOrder
public class AttributeOrder
Criterion for ordering elements resulting from a query according to a given attribute, either with ascending or descending values.
OrderCriteria,
Serialized Form| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.eclipse.stardust.engine.api.query.AbstractSingleOrderCriterion |
|---|
isAscending |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeOrder(FilterableAttribute attribute)
attribute - The attribute to order by.AttributeOrder(FilterableAttribute, boolean)
public AttributeOrder(FilterableAttribute attribute,
boolean ascending)
attribute - ascending - | Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||