public LinkedList<XMLElement> getXMLElementList() {
LinkedList<XMLElement> xmlElementList = new LinkedList<XMLElement>();
XMLElement xmlElement = new XMLElement(NAME);
if (this.constrkind != null) {
XMLAttribute xmlAttribute = new XMLAttribute("constrkind", this.constrkind.name());
xmlElement.getXMLAttributeList().add(xmlAttribute);
}
if (this.constrnr != null) {
XMLAttribute xmlAttribute = new XMLAttribute("constrnr", this.constrnr);
xmlElement.getXMLAttributeList().add(xmlAttribute);
}
if (this.aid != null) {
XMLAttribute xmlAttribute = new XMLAttribute("aid", this.aid);
xmlElement.getXMLAttributeList().add(xmlAttribute);
}
if (this.defnr != null) {
XMLAttribute xmlAttribute = new XMLAttribute("defnr", this.defnr);
xmlElement.getXMLAttributeList().add(xmlAttribute);
}
if (this.vid != null) {
XMLAttribute xmlAttribute = new XMLAttribute("vid", this.vid);
xmlElement.getXMLAttributeList().add(xmlAttribute);
}
if (this.nr != null) {
XMLAttribute xmlAttribute = new XMLAttribute("nr", this.nr);
xmlElement.getXMLAttributeList().add(xmlAttribute);
}
if (this.relnr != null) {
XMLAttribute xmlAttribute = new XMLAttribute("relnr", this.relnr);
xmlElement.getXMLAttributeList().add(xmlAttribute);
}
boolean isEmpty = !(!typList.isEmpty()
|| essentials != null || formula != null
|| defMeaning != null);