Element joinElem = new Element("join");
joinElem.setAttribute("class", join.getClass().toString());
if (join.parentStructure != null)
joinElem.addContent( new Element("parentStructure").setAttribute("name", join.parentStructure.getFullName()));
if (join.parentIndex != null)
joinElem.addContent( new Element("parentIndex").setAttribute("name", join.parentIndex));
return joinElem;
}
////////////////////////////////////////////////////////////////////////////////