public String toXml(int indentLevel){
        String indent = "";
        for (int i = 1; i <= indentLevel; i++)
            indent = indent + "\t";
        String xml = indent + "<MonitorCategory id='" + this.id + "' name='" +
                this.name + "' priority='" + this.priority + "' status='" +
                this.status + "' delete_time='" +
                this.deleteTime + "' note='" +
                this.note + "' />";
        return xml;
    }
public String toXml(int indentLevel){
        String indent = "";
        for (int i = 1; i <= indentLevel; i++)
            indent = indent + "\t";
        String xml = indent + "<MonitorCategory id='" + this.id + "' name='" +
                this.name + "' priority='" + this.priority + "' status='" +
                this.status + "' delete_time='" +
                this.deleteTime + "' note='" +
                this.note + "' />";
        return xml;
    }
public string toxml(int indentlevel){ string indent = ""; for (int i = 1; i <= indentlevel; i++) indent = indent + "\t"; string xml = indent + "<monitorcategory id='" + this.id + "' name='" + this.name + "' priority='" + this.priority + "' status='" + this.status + "' delete_time='" + this.deletetime + "' note='" + this.note + "' />"; return xml; }