public LinkedList<XMLElement> getXMLElementList() {
LinkedList<XMLElement> xmlElementList = new LinkedList<XMLElement>();
XMLElement xmlElement = new XMLElement(NAME);
if (this.kind != null) {
XMLAttribute xmlAttribute = new XMLAttribute("kind", this.kind.name());
xmlElement.getXMLAttributeList().add(xmlAttribute);
}
if (this.nr != null) {
XMLAttribute xmlAttribute = new XMLAttribute("nr", this.nr);
xmlElement.getXMLAttributeList().add(xmlAttribute);
}
if (this.aid != null) {
XMLAttribute xmlAttribute = new XMLAttribute("aid", this.aid);
xmlElement.getXMLAttributeList().add(xmlAttribute);
}
if (this.relnr != null) {
XMLAttribute xmlAttribute = new XMLAttribute("relnr", this.relnr);
xmlElement.getXMLAttributeList().add(xmlAttribute);
}
if (this.redefnr != null) {
XMLAttribute xmlAttribute = new XMLAttribute("redefnr", this.redefnr);
xmlElement.getXMLAttributeList().add(xmlAttribute);
}
if (this.superfluous != null) {
XMLAttribute xmlAttribute = new XMLAttribute("superfluous", this.superfluous);
xmlElement.getXMLAttributeList().add(xmlAttribute);
}
if (this.absredefnr != null) {
XMLAttribute xmlAttribute = new XMLAttribute("absredefnr", this.absredefnr);
xmlElement.getXMLAttributeList().add(xmlAttribute);
}
if (this.redefaid != null) {
XMLAttribute xmlAttribute = new XMLAttribute("redefaid", this.redefaid);
xmlElement.getXMLAttributeList().add(xmlAttribute);
}
if (this.structmodeaggrnr != null) {
XMLAttribute xmlAttribute = new XMLAttribute("structmodeaggrnr", this.structmodeaggrnr);
xmlElement.getXMLAttributeList().add(xmlAttribute);
}
if (this.aggregbase != null) {
XMLAttribute xmlAttribute = new XMLAttribute("aggregbase", this.aggregbase);
xmlElement.getXMLAttributeList().add(xmlAttribute);
}
boolean isEmpty = !(properties != null
|| argTypes != null || structLoci != null
|| !typList.isEmpty() || fields != null);