/** * Sets the name of this <code>LeftOperand</code>. Can be a reference to a data / variable, or to a document. * * @param name * the name of the reference that will be set by this operation execution * @return this builder itself, so that calls the various exposed methods can be chained. */ public LeftOperandBuilder setName(final String name) { leftOperand.setName(name); return this; }
/** * Sets the name of this <code>LeftOperand</code>. Can be a reference to a data / variable, or to a document. * * @param name * the name of the reference that will be set by this operation execution * @return this builder itself, so that calls the various exposed methods can be chained. */ public LeftOperandBuilder setName(final String name) { leftOperand.setName(name); return this; }
public LeftOperandBuilder createNewInstance(final String name) { leftOperand = new LeftOperandImpl(); leftOperand.setName(name); return this; }
public LeftOperandBuilder createNewInstance(final String name) { leftOperand = new LeftOperandImpl(); leftOperand.setName(name); return this; }
public static Operation toOperation(final SOperation operation) { final OperationImpl operationImpl = new OperationImpl(); operationImpl.setRightOperand(toExpression(operation.getRightOperand())); operationImpl.setOperator(operation.getOperator()); operationImpl.setType(toOperatorType(operation.getType())); final LeftOperandImpl leftOperand = new LeftOperandImpl(); final SLeftOperand sLeftOperand = operation.getLeftOperand(); leftOperand.setName(sLeftOperand.getName()); leftOperand.setType(sLeftOperand.getType()); operationImpl.setLeftOperand(leftOperand); return operationImpl; }
public static Operation toOperation(final SOperation operation) { final OperationImpl operationImpl = new OperationImpl(); operationImpl.setRightOperand(toExpression(operation.getRightOperand())); operationImpl.setOperator(operation.getOperator()); operationImpl.setType(toOperatorType(operation.getType())); final LeftOperandImpl leftOperand = new LeftOperandImpl(); final SLeftOperand sLeftOperand = operation.getLeftOperand(); leftOperand.setName(sLeftOperand.getName()); leftOperand.setType(sLeftOperand.getType()); operationImpl.setLeftOperand(leftOperand); return operationImpl; }