Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Sep 26th, 2018 62 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top