/** * Determines whether the <b>WHERE</b> clause is defined or not. * * @return <code>true</code> if this statement has a <b>WHERE</b> clause; <code>false</code> if it * was not parsed */ public boolean hasWhereClause() { return whereClause != null && !whereClause.isNull(); }
/** * Determines whether the state field was parsed. * * @return <code>true</code> the state field was parsed; <code>false</code> otherwise */ public boolean hasStateFieldPathExpression() { return stateFieldExpression != null && !stateFieldExpression.isNull(); }
/** * Determines whether the new value section of the query was parsed. * * @return <code>true</code> the new value was parsed; <code>false</code> if nothing was parsed */ public boolean hasNewValue() { return newValue != null && !newValue.isNull(); }
/** * Determines whether the upper bound expression was parsed. * * @return <code>true</code> if the query has the upper bound expression; <code>false</code> * otherwise */ public boolean hasUpperBoundExpression() { return upperBoundExpression != null && !upperBoundExpression.isNull(); }
/** * Determines whether the lower bound expression was parsed. * * @return <code>true</code> if the query has the lower bound expression; <code>false</code> * otherwise */ public boolean hasLowerBoundExpression() { return lowerBoundExpression != null && !lowerBoundExpression.isNull(); }
/** * Determines whether the expression before the identifier was parsed. * * @return <code>true</code> if the query has the expression before <b>BETWEEN</b>; <code>false * </code> otherwise */ public boolean hasExpression() { return expression != null && !expression.isNull(); }