org.eclipse.ecf.presence.search
Interface ICriterion

All Known Implementing Classes:
LogicalCriterion, SimpleCriterion

public interface ICriterion

A representation of a query criterion for a restriction in a Criteria. A Criteria is formed by one or several criterion, that together are able to compose an entire expression to project a result that match the criteria. The instances of this should be created for IRestriction implementations.

Since:
2.0

Method Summary
 java.lang.String toExpression()
          Returns a expression composed for the search.
 

Method Detail

toExpression

java.lang.String toExpression()
Returns a expression composed for the search. The String can be something like 'field' + 'operator' + value, that it will be interpreted for each specific provider.

Returns:
String