org.azzyzt.jee.runtime.dto.query
Class Or

java.lang.Object
  extended by org.azzyzt.jee.runtime.dto.query.Expression
      extended by org.azzyzt.jee.runtime.dto.query.BinaryBooleanExpression
          extended by org.azzyzt.jee.runtime.dto.query.Or
All Implemented Interfaces:
java.io.Serializable, Node

public class Or
extends BinaryBooleanExpression
implements java.io.Serializable

A binary boolean expression that is true when at least one of its terms is true. An Or can have any number of terms. Or expressions in JPA criteria expressions otoh are strictly binary, thus the QueryBuilder converts an Or with more than two terms in a cascade of JPA Or expressions with two terms each.

See Also:
Serialized Form

Constructor Summary
Or()
           
Or(Expression... expressions)
           
 
Method Summary
 
Methods inherited from class org.azzyzt.jee.runtime.dto.query.BinaryBooleanExpression
add, getReplaceableBy, getTerms, isValid, setTerms, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Or

public Or()

Or

public Or(Expression... expressions)