org.plasma.query
Interface Expression

All Superinterfaces:
Term
All Known Implementing Classes:
Expression

public interface Expression
extends Term

A base expression


Method Summary
 Expression and(Expression expr)
          Concatenates the given expression onto this expression using a logical 'and' operator.
 Expression group()
          Places this expression within grouping operators and returns the grouped expression.
 Expression or(Expression expr)
          Concatenates the given expression onto this expression using a logical 'or' operator.
 

Method Detail

and

Expression and(Expression expr)
Concatenates the given expression onto this expression using a logical 'and' operator.

Parameters:
expr - the expression
Returns:
the original expression

or

Expression or(Expression expr)
Concatenates the given expression onto this expression using a logical 'or' operator.

Parameters:
expr - the expression
Returns:
the original expression

group

Expression group()
Places this expression within grouping operators and returns the grouped expression.

Returns:
the grouped expression


Copyright © 2013. All rights reserved.