public String toString() { String result = "<address uri=\"" + uri + "\" "; if (priority != -1) result += "priority=\"" + priority + "\""; result += " >\n"; if (statusTag != null) result += statusTag.toString(); if (msnSubStatusTag != null) result += msnSubStatusTag.toString(); result += "</address>\n"; return result; }
public String toString() { String result = "<tuple "; result += " id=\"" + id + "\" >\n"; if (statusTag != null) result += statusTag.toString(); if (contactTag != null) result += contactTag.toString(); if (noteTag != null) result += noteTag.toString(); result += "</tuple>\n"; return result; }