1 11 package org.jboss.portlet.forums.impl; 12 13 import java.io.Serializable ; 14 15 import org.jboss.portlet.forums.model.Message; 16 17 24 public class MessageImpl 25 implements Message, 26 Serializable , 27 Cloneable 28 { 29 private String subject = ""; 30 private String text = ""; 31 private boolean BBCodeEnabled = true; 32 private boolean HTMLEnabled = false; 33 private boolean smiliesEnabled = false; 34 private boolean signatureEnabled = true; 35 36 40 public String getSubject() 41 { 42 return subject; 43 } 44 45 50 public void setSubject(String subject) 51 { 52 this.subject = subject; 53 } 54 55 60 public String getText() 61 { 62 return text; 63 } 64 65 70 public void setText(String text) 71 { 72 this.text = text; 73 } 74 75 80 public boolean getBBCodeEnabled() 81 { 82 return BBCodeEnabled; 83 } 84 85 90 public void setBBCodeEnabled(boolean BBCodeEnabled) 91 { 92 this.BBCodeEnabled = BBCodeEnabled; 93 } 94 95 100 public boolean getHTMLEnabled() 101 { 102 return HTMLEnabled; 103 } 104 105 110 public void setHTMLEnabled(boolean HTMLEnabled) 111 { 112 this.HTMLEnabled = HTMLEnabled; 113 } 114 115 120 public boolean getSmiliesEnabled() 121 { 122 return smiliesEnabled; 123 } 124 125 130 public void setSmiliesEnabled(boolean smiliesEnabled) 131 { 132 this.smiliesEnabled = smiliesEnabled; 133 } 134 135 140 public boolean getSignatureEnabled() 141 { 142 return signatureEnabled; 143 } 144 145 150 public void setSignatureEnabled(boolean signatureEnabled) 151 { 152 this.signatureEnabled = signatureEnabled; 153 } 154 } | Popular Tags |