/** * Place an open parenthesis in the <CODE>WHERE</CODE> clause. Example usage: find all the Bobs * and Roberts who are 5 or 50 years old: <CODE> * PersonQuery pq = new PersonQuery(); * pq.openParen(); * pq.setQueryFirstName( "Bob" ); * pq.or(); * pq.setQueryFirstName( "Robert" ); * pq.closeParen(); * // AND automatically inserted here. * pq.openParen(); * pq.setQueryAge( 5 ); * pq.or(); * pq.setQueryAge( 50 ); * pq.closeParen(); * </CODE> * * @see QueryBuilder to construct more elaborate queries. * @author Jay Gunter */ public void openParen() { builder.addWhereOpenParen(); }