@Override
 public void setQuantity(final BigDecimal quantity) {
   entity.setField(operationType.getQuantityFieldName(), quantity);
 }
 @Override
 public void setProduct(final Entity product) {
   Preconditions.checkArgument(hasCorrectProductDataDefinition(product));
   entity.setField(operationType.getProductFieldName(), product);
 }