1 23 24 package org.dbforms.config; 25 26 27 34 public class Message { 35 private String language; 38 private String message; 41 46 public void setLanguage(String language) { 47 this.language = language; 48 } 49 50 51 56 public String getLanguage() { 57 return language; 58 } 59 60 61 66 public void setMessage(String message) { 67 this.message = message; 68 } 69 70 71 76 public String getMessage() { 77 return message; 78 } 79 80 81 86 public String toString() { 87 StringBuffer buf = new StringBuffer (); 88 buf.append("language="); 89 buf.append(language); 90 buf.append(" message="); 91 buf.append(getMessage()); 92 93 return buf.toString(); 94 } 95 } 96 | Popular Tags |