public abstract class CompositeExpression
extends java.lang.Object
Constructor and Description |
---|
CompositeExpression(Expression... expressions)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Expression |
and(Expression expression)
Creates an And expression which will be a logical "and" of this expression
and the expression passed in as a parameter
|
Expression[] |
getExpressions()
Gets the sub expressions
|
protected abstract java.lang.String |
getSeparator()
Gets the separator used to separate the sub-expressions when converting the
expression to a String
|
Expression |
not()
Creates a Not expression which will be the logical "not" of this epxression
|
Expression |
or(Expression expression)
Creates an Or expression which will be a logical "or" of this expression
and the expression passed in as a parameter
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept
public CompositeExpression(Expression... expressions)
expressions
- the sub expressionspublic Expression[] getExpressions()
public java.lang.String toString()
toString
in class java.lang.Object
protected abstract java.lang.String getSeparator()
public Expression and(Expression expression)
and
in interface Expression
expression
- the other expressionpublic Expression or(Expression expression)
or
in interface Expression
expression
- the other expressionpublic Expression not()
not
in interface Expression