/** * Constructs an instance of this class given a general logical expression. * The logical expression is constructed in terms of an operator (either OR * or AND), and a set of criteria clauses. * * @param operator The logical operator * @param criteria The list of {@link Criteria} */ public CompoundCriteria( int operator, List criteria ) { this(); set(operator,criteria); }
/** * Constructs an instance of this class given a general logical expression. * The logical expression is constructed in terms of an operator (either OR * or AND), and a set of criteria clauses. * * @param operator The logical operator * @param criteria The list of {@link Criteria} */ public CompoundCriteria( int operator, List criteria ) { this(); set(operator,criteria); }
/** * Constructs an instance of this class given a general logical expression. * The logical expression is constructed in terms of an operator (either OR * or AND), and a set of criteria clauses. * * @param operator The logical operator * @param criteria The list of {@link Criteria} */ public CompoundCriteria( int operator, List criteria ) { this(); set(operator,criteria); }
/** * Constructs an instance of this class given a binary logical expression. * The logical expression is constructed in terms of a left criteria clause, * an operator (either OR or AND), and a right criteria clause. * * @param left The criteria left of the operator * @param right The criteria right of the operator * @param operator The logical operator * * @see #set(int,Criteria,Criteria) */ public CompoundCriteria( int operator, Criteria left, Criteria right ) { this(); set(operator,left,right); }
/** * Constructs an instance of this class given a binary logical expression. * The logical expression is constructed in terms of a left criteria clause, * an operator (either OR or AND), and a right criteria clause. * * @param left The criteria left of the operator * @param right The criteria right of the operator * @param operator The logical operator * * @see #set(int,Criteria,Criteria) */ public CompoundCriteria( int operator, Criteria left, Criteria right ) { this(); set(operator,left,right); }
/** * Constructs an instance of this class given a binary logical expression. * The logical expression is constructed in terms of a left criteria clause, * an operator (either OR or AND), and a right criteria clause. * * @param left The criteria left of the operator * @param right The criteria right of the operator * @param operator The logical operator * * @see #set(int,Criteria,Criteria) */ public CompoundCriteria( int operator, Criteria left, Criteria right ) { this(); set(operator,left,right); }