Guest User

Untitled

a guest
Sep 26th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. package org.banana.wizard;
  2.  
  3.  
  4. public class Message {
  5.  
  6. private boolean isNotice;
  7. private boolean isChat;
  8. private String adminName;
  9. private String from;
  10. private String to;
  11. private String contents;
  12.  
  13. public Message(boolean isNotice, boolean isChat, String adminName,
  14. String from, String to, String contents) {
  15. super();
  16. this.isNotice = isNotice;
  17. this.isChat = isChat;
  18. this.adminName = adminName;
  19. this.from = from;
  20. this.to = to;
  21. this.contents = contents;
  22. }
  23.  
  24. public boolean isNotice() { return isNotice;}
  25.  
  26. public void setNotice(boolean isNotice) { this.isNotice = isNotice; }
  27.  
  28. public boolean isChat() { return isChat; }
  29.  
  30. public void setChat(boolean isChat) { this.isChat = isChat; }
  31.  
  32. public String getAdminName() { return adminName; }
  33.  
  34. public void setAdminName(String adminName) { this.adminName = adminName; }
  35.  
  36. public String getFrom() { return from; }
  37.  
  38. public void setFrom(String from) { this.from = from; }
  39.  
  40. public String getTo() { return to; }
  41.  
  42. public void setTo(String to) { this.to = to; }
  43.  
  44. public String getContents() { return contents; }
  45.  
  46. public void setContents(String contents) { this.contents = contents; }
  47.  
  48. }
Add Comment
Please, Sign In to add comment