org.eclipse.stardust.engine.api.query
Interface OrderCriterion

All Superinterfaces:
Serializable
All Known Implementing Classes:
org.eclipse.stardust.engine.api.query.AbstractSingleOrderCriterion, AttributeOrder, DataOrder, OrderCriteria

public interface OrderCriterion
extends Serializable

Interface to be implemented by custom order criteria.

Order criteria are used to define a specific order of elements returned by a query and can be thought of an analogon to an SQL ORDER-BY-clause.

Version:
$Revision$
Author:
rsauer

Method Summary
 Object accept(OrderEvaluationVisitor visitor, Object context)
          Visitor dispatch callback used for evaluating order criteria.
 

Method Detail

accept

Object accept(OrderEvaluationVisitor visitor,
              Object context)
Visitor dispatch callback used for evaluating order criteria. Usually implemented as return visitor.visit(this, context), thus calling the appropriately overloaded visitation method.

Parameters:
visitor - The visitor performing the evaluation.
context - Information used by the visitor during the visitation process.
Returns:
Visitor specific result of the visitation.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.