Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package org.banana.wizard;
- public class Message {
- private boolean isNotice;
- private boolean isChat;
- private String adminName;
- private String from;
- private String to;
- private String contents;
- public Message(boolean isNotice, boolean isChat, String adminName,
- String from, String to, String contents) {
- super();
- this.isNotice = isNotice;
- this.isChat = isChat;
- this.adminName = adminName;
- this.from = from;
- this.to = to;
- this.contents = contents;
- }
- public boolean isNotice() { return isNotice;}
- public void setNotice(boolean isNotice) { this.isNotice = isNotice; }
- public boolean isChat() { return isChat; }
- public void setChat(boolean isChat) { this.isChat = isChat; }
- public String getAdminName() { return adminName; }
- public void setAdminName(String adminName) { this.adminName = adminName; }
- public String getFrom() { return from; }
- public void setFrom(String from) { this.from = from; }
- public String getTo() { return to; }
- public void setTo(String to) { this.to = to; }
- public String getContents() { return contents; }
- public void setContents(String contents) { this.contents = contents; }
- }
Add Comment
Please, Sign In to add comment