Attaches the given Statement as the right side of the AND statement. @param stmt Statement to attach. @return this for chaining.
(Statement stmt)
| 62 | * @return <code>this</code> for chaining. |
| 63 | */ |
| 64 | public Where and(Statement stmt) { |
| 65 | mKeys.addAll(stmt.getKeys()); |
| 66 | |
| 67 | if(mStatement == null) { |
| 68 | mStatement = stmt; |
| 69 | } else { |
| 70 | mStatement = new AndStatement(mStatement, stmt); |
| 71 | } |
| 72 | |
| 73 | return this; |
| 74 | } |
| 75 | |
| 76 | /** |
| 77 | * See {@link Where#and(String, String)}. |