/** * Sets the operator used in the logical expression. * @param operator The operator * @throws IllegalArgumentException If operator is invalid */ public void setOperator(int operator) { if (!isValidOperator(operator)) { throw new IllegalArgumentException(QueryPlugin.Util.getString("ERR.015.010.0002", operator)); //$NON-NLS-1$ } this.operator = operator; }
/** * Sets the operator used in the logical expression. * @param operator The operator * @throws IllegalArgumentException If operator is invalid */ public void setOperator(int operator) { if (!isValidOperator(operator)) { throw new IllegalArgumentException(QueryPlugin.Util.getString("ERR.015.010.0002", operator)); //$NON-NLS-1$ } this.operator = operator; }
/** * Sets the operator used in the logical expression. * @param operator The operator * @throws IllegalArgumentException If operator is invalid */ public void setOperator(int operator) { if (!isValidOperator(operator)) { throw new IllegalArgumentException(QueryPlugin.Util.getString("ERR.015.010.0002", operator)); //$NON-NLS-1$ } this.operator = operator; }