public final class DataOrder
extends org.eclipse.stardust.engine.api.query.AbstractSingleOrderCriterion
OrderCriteria,
Serialized Form| Constructor and Description |
|---|
DataOrder(String dataID)
Initializes the criterion to order according to ascending values of the given
workflow data.
|
DataOrder(String dataID,
boolean ascending)
Initializes the criterion to order according to ascending or descending values of
the given workflow data.
|
DataOrder(String dataID,
String attributeName)
Initializes the criterion to order according to ascending values of the given
workflow data.
|
DataOrder(String dataID,
String attributeName,
boolean ascending)
Initializes the criterion to order according to ascending or descending values of
the given workflow data.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(OrderEvaluationVisitor visitor,
Object context)
Visitor dispatch callback used for evaluating order criteria.
|
String |
getAttributeName()
Returns the name of the data attribute
|
String |
getDataID()
Returns the ID of the workflow data containing the values to be used for ordering.
|
String |
getNormalizedAttributeName()
Returns the name of the data attribute or an empty string if the name is null.
|
String |
toString() |
public DataOrder(String dataID)
dataID - The ID of the workflow data to order according toDataOrder(String, boolean)public DataOrder(String dataID, String attributeName)
dataID - The ID of the workflow data to order according toattributeName - The name of the data attribute to search for (XPath, etc.)DataOrder(String, boolean)public DataOrder(String dataID, boolean ascending)
dataID - The ID of the workflow data to according to.ascending - Flag indicating if ordering has to be performed along ascending or
descending values.DataOrder(String)public DataOrder(String dataID, String attributeName, boolean ascending)
dataID - The ID of the workflow data to according to.attributeName - The name of the data attribute to search for (XPath, etc.)ascending - Flag indicating if ordering has to be performed along ascending or
descending values.DataOrder(String)public String getDataID()
public String getAttributeName()
null if no name was setpublic String getNormalizedAttributeName()
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.