legacyDesc.setCopyMethod(copyMethod);
legacyDesc.setStartTimestampPropertyName(startTimestampProp);
legacyDesc.setEndTimestampPropertyName(endTimestampProp);
configuration.addEventType(name, className, legacyDesc);
DOMElementIterator propertyNodeIterator = new DOMElementIterator(xmldomElement.getChildNodes());
while (propertyNodeIterator.hasNext())
{
Element propertyElement = propertyNodeIterator.next();
if (propertyElement.getNodeName().equals("method-property"))
{
String nameProperty = getRequiredAttribute(propertyElement, "name");
String method = getRequiredAttribute(propertyElement, "accessor-method");
legacyDesc.addMethodProperty(nameProperty, method);