MykelSilver wrote:
So, to write a equivalent functionality as the MagicNumber, I must write a function which parses this label for a particular value (splitting timestamp for example)?
It is the case if you want to keep that data directly in the order. Also you might consider keeping this data in comment which can get added to an order on its
submission and the retrieved by
IOrder.getComment().
If strategy is working with its own orders then you might as well map each order to its MagicNumber, i.e.
Map<IOrder, String> magicNumbers.