/** * @param rightOperand * @return this builder itself, so that calls the various exposed methods can be chained. */ public OperationBuilder setRightOperand(final Expression rightOperand) { operation.setRightOperand(rightOperand); return this; }
/** * @param operatorInputType * @return this builder itself, so that calls the various exposed methods can be chained. */ public OperationBuilder setOperatorInputType(final String operatorInputType) { operation.setOperatorInputType(operatorInputType); return this; }
/** * @param operator * @return this builder itself, so that calls the various exposed methods can be chained. */ public OperationBuilder setOperator(final String operator) { operation.setOperator(operator); return this; }
/** * @param operatorType * @return this builder itself, so that calls the various exposed methods can be chained. */ public OperationBuilder setType(final OperatorType operatorType) { operation.setType(operatorType); return this; }
/** * Sets the <code>LeftOperand</code> of this operation. It is built for you with its name and * external properties. * * @param name the name of the left operand * @param external is the data managed externally and thus should not be tried to be updated? * @return this builder itself, so that calls the various exposed methods can be chained. */ public OperationBuilder setLeftOperand(final String name, final boolean external) { operation.setLeftOperand( new LeftOperandBuilder().createNewInstance(name).setExternal(external).done()); return this; }
/** * Sets the <code>LeftOperand</code> of this operation. A <code>LeftOperand</code> can be obtained * by using <code>LeftOperandBuilder</code>. * * @param leftOperand the <code>LeftOperand</code> to set. * @return this builder itself, so that calls the various exposed methods can be chained. * @see LeftOperandBuilder */ public OperationBuilder setLeftOperand(final LeftOperand leftOperand) { operation.setLeftOperand(leftOperand); return this; }