Class Europe1DiscountsTranslator

Direct Known Subclasses:
Europe1ProductDiscountTranslator, Europe1UserDiscountsTranslator

public abstract class Europe1DiscountsTranslator extends CollectionValueTranslator
Translates the Europe1 Product.europe1discounts attribute.
  • Constructor Details

  • Method Details

    • splitAndUnescape

      protected List splitAndUnescape(String valueExpr)
      Superclass method overridden to allow using the collection delimiter for prices as well:
              "123,45 EUR"
          would normally be split into "123","45 EUR"
          but we'll put them together again
          "123,45 EUR, 445 EUR" will now result in "123,45 EUR","445 EUR"
       
      Overrides:
      splitAndUnescape in class CollectionValueTranslator
      Parameters:
      valueExpr - the cell value
      Returns:
      the list of element tokens