final public OContainsValueOperator ContainsValueOperator() throws ParseException { /*@bgen(jjtree) ContainsValueOperator */ OContainsValueOperator jjtn000 = new OContainsValueOperator(JJTCONTAINSVALUEOPERATOR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); jjtn000.jjtSetFirstToken(getToken(1)); try { jj_consume_token(CONTAINSVALUE); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.jjtSetLastToken(getToken(0)); {if (true) return jjtn000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); jjtn000.jjtSetLastToken(getToken(0)); } } throw new Error("Missing return statement in function"); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; OContainsValueCondition that = (OContainsValueCondition) o; if (left != null ? !left.equals(that.left) : that.left != null) return false; if (operator != null ? !operator.equals(that.operator) : that.operator != null) return false; if (condition != null ? !condition.equals(that.condition) : that.condition != null) return false; if (expression != null ? !expression.equals(that.expression) : that.expression != null) return false; return true; }
@Override public int hashCode() { int result = left != null ? left.hashCode() : 0; result = 31 * result + (operator != null ? operator.hashCode() : 0); result = 31 * result + (condition != null ? condition.hashCode() : 0); result = 31 * result + (expression != null ? expression.hashCode() : 0); return result; }
OBinaryCondition condition = new OBinaryCondition(-1); condition.setLeft(left); condition.setOperator(new OContainsValueOperator(-1)); condition.setRight(((OContainsValueCondition) singleExp).getExpression().copy()); indexKeyValue.getSubBlocks().add(condition);