private String displayComplaint(Water_Board_Management_HelpDesk.Complaint c) { String r = "Reference no: " + c.getReference(); r += Environment.NewLine + "Account no: " + c.getAccount(); r += Environment.NewLine+"Type: " + c.getType(); r += Environment.NewLine + "Sub Type: " + c.getSub(); r += Environment.NewLine + "Details: " + c.getAdd(); r += Environment.NewLine + "Submission Date: " + c.getSubmit(); r += Environment.NewLine + "Progress: " + c.getProgress(); r += Environment.NewLine + "Priority: " + c.getPriority(); r += Environment.NewLine + "Completed? " + c.isCompleted(); return r; }
private String displayAppeal(Water_Board_Management_HelpDesk.Appeal a) { String r = "Reference no: " + a.getReference(); r += Environment.NewLine + "Account no: " + a.getAccount(); r += Environment.NewLine + "Type: " + a.getType(); r += Environment.NewLine + "Sub Type: " + a.getSub(); r += Environment.NewLine + "Validated: " + a.isValidated(); r += Environment.NewLine + "Submission Date: " + a.getSubmit(); r += Environment.NewLine + "Progress: " + a.getProgress(); r += Environment.NewLine + "Completed? " + a.isCompleted(); return r; }