001: package org.claros.mini.models;
002:
003: import org.apache.struts.action.ActionForm;
004:
005: /**
006: * Form bean for a Struts application.
007: * Users may access 7 fields on this form:
008: * <ul>
009: * <li>bcc - [your comment here]
010: * <li>subject - [your comment here]
011: * <li>action - [your comment here]
012: * <li>messageBody - [your comment here]
013: * <li>cc - [your comment here]
014: * <li>to - [your comment here]
015: * <li>from - [your comment here]
016: * </ul>
017: * @version 1.0
018: * @author
019: */
020: public class ComposeFormBean extends ActionForm {
021:
022: private String bcc = null;
023: private String subject = null;
024: private String action = null;
025: private String from = null;
026: private String to = null;
027: private String cc = null;
028: private String messageBody = null;
029: private String htmlEmail = null;
030: private String btn = null;
031:
032: /**
033: * Get bcc
034: * @return String
035: */
036: public String getBcc() {
037: return bcc;
038: }
039:
040: /**
041: * Set bcc
042: * @param <code>String</code>
043: */
044: public void setBcc(String b) {
045: this .bcc = b;
046: }
047:
048: /**
049: * Get subject
050: * @return String
051: */
052: public String getSubject() {
053: return subject;
054: }
055:
056: /**
057: * Set subject
058: * @param <code>String</code>
059: */
060: public void setSubject(String s) {
061: this .subject = s;
062: }
063:
064: /**
065: * Get action
066: * @return String
067: */
068: public String getAction() {
069: return action;
070: }
071:
072: /**
073: * Set action
074: * @param <code>String</code>
075: */
076: public void setAction(String a) {
077: this .action = a;
078: }
079:
080: /**
081: * Get from
082: * @return String
083: */
084: public String getFrom() {
085: return from;
086: }
087:
088: /**
089: * Set from
090: * @param <code>String</code>
091: */
092: public void setFrom(String f) {
093: this .from = f;
094: }
095:
096: /**
097: * Get to
098: * @return String
099: */
100: public String getTo() {
101: return to;
102: }
103:
104: /**
105: * Set to
106: * @param <code>String</code>
107: */
108: public void setTo(String t) {
109: this .to = t;
110: }
111:
112: /**
113: * Get cc
114: * @return String
115: */
116: public String getCc() {
117: return cc;
118: }
119:
120: /**
121: * Set cc
122: * @param <code>String</code>
123: */
124: public void setCc(String c) {
125: this .cc = c;
126: }
127:
128: /**
129: * Get messageBody
130: * @return String
131: */
132: public String getMessageBody() {
133: return messageBody;
134: }
135:
136: /**
137: * Set messageBody
138: * @param <code>String</code>
139: */
140: public void setMessageBody(String m) {
141: this .messageBody = m;
142: }
143:
144: /**
145: * @return
146: */
147: public String getHtmlEmail() {
148: return htmlEmail;
149: }
150:
151: /**
152: * @param string
153: */
154: public void setHtmlEmail(String string) {
155: htmlEmail = string;
156: }
157:
158: /**
159: * @return
160: */
161: public String getBtn() {
162: return btn;
163: }
164:
165: /**
166: * @param string
167: */
168: public void setBtn(String string) {
169: btn = string;
170: }
171:
172: }
|