@Override
 public void writeExternal(Element rootElement) throws WriteExternalException {
   Element element = OrderEntryFactory.createOrderEntryElement(ENTRY_TYPE);
   element.setAttribute(OrderEntryFactory.ORDER_ENTRY_TYPE_ATTR, ENTRY_TYPE);
   element.setAttribute(
       ATTRIBUTE_FOR_TESTS, Boolean.FALSE.toString()); // compatibility with prev builds
   rootElement.addContent(element);
 }