Exemplo n.º 1
0
 /**
  * @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;
 }
Exemplo n.º 2
0
 /**
  * @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;
 }
Exemplo n.º 3
0
 /**
  * @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;
 }
Exemplo n.º 4
0
 /**
  * @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;
 }
Exemplo n.º 5
0
 /**
  * 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;
 }
Exemplo n.º 6
0
 /**
  * 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;
 }