}  if (dueDate != null) { buf.append(" due-date=\"").append(getDueDate()).append("\"");
    public void writeXML(PrintWriter out, int indent) {        XMLUtil.printIndent(out, indent++);        StringBuffer buf = new StringBuffer();        buf.append("<unconditional-result");        if (hasId()) {            buf.append(" id=\"").append(getId()).append("\"");        }        buf.append(" old-status=\"").append(oldStatus).append("\"");        if (join != 0) {            buf.append(" join=\"").append(join).append("\"");        } else if (split != 0) {            buf.append(" split=\"").append(split).append("\"");        } else {            buf.append(" status=\"").append(status).append("\"");            buf.append(" step=\"").append(step).append("\"");            if ((owner != null) && (owner.length() > 0)) {                buf.append(" owner=\"").append(owner).append("\"");            }            if ((displayName != null) && (displayName.length() > 0)) {                buf.append(" display-name=\"").append(displayName).append("\"");            }        }        if ((preFunctions.size() == 0) && (postFunctions.size() == 0)) {            buf.append("/>");            out.println(buf.toString());        } else {            buf.append(">");            out.println(buf.toString());            printPreFunctions(out, indent);            printPostFunctions(out, indent);            XMLUtil.printIndent(out, --indent);            out.println("</unconditional-result>");        }    }