1 package org.telscenter.pas.ui.beans.issueReporter; 2 3 public class Issue { 4 5 private String type; 6 private String issueDescription; 7 private String reporterName; 8 private String reporterEmail; 9 private String applicationName; 10 private String subject; 11 12 public String getApplicationName() { 13 return applicationName; 14 } 15 16 public void setApplicationName(String applicationName) { 17 this.applicationName = applicationName; 18 } 19 20 public String getIssueDescription() { 21 return issueDescription; 22 } 23 24 public void setIssueDescription(String issueDescription) { 25 this.issueDescription = issueDescription; 26 } 27 28 public Issue() { 29 } 30 31 public String getType() { 32 return type; 33 } 34 35 public void setType(String type) { 36 this.type = type; 37 } 38 39 public String getReporterEmail() { 40 return reporterEmail; 41 } 42 43 public void setReporterEmail(String reporterEmail) { 44 this.reporterEmail = reporterEmail; 45 } 46 47 public String getReporterName() { 48 return reporterName; 49 } 50 51 public void setReporterName(String reporterName) { 52 this.reporterName = reporterName; 53 } 54 55 public String getSubject() { 56 return subject; 57 } 58 59 public void setSubject(String subject) { 60 this.subject = subject; 61 } 62 63 public String toString() { 64 65 StringBuffer buf = new StringBuffer(); 66 buf.append("A Pas Issue Has Been Created\n\n"); 67 buf.append("Type: \n" + getType() +"\n\n"); 68 buf.append("Name: \n" + getReporterName() + "\n\n"); 69 buf.append("Email: \n" + getReporterEmail() + "\n\n"); 70 buf.append("Subject: \n" + getSubject() + "\n\n"); 71 buf.append("Description: \n" + getIssueDescription() + "\n\n" ); 72 return buf.toString(); 73 } 74 75 76 77 }