001: /*
002: * ChainBuilder ESB
003: * Visual Enterprise Integration
004: *
005: * Copyright (C) 2006 Bostech Corporation
006: *
007: * This program is free software; you can redistribute it and/or modify
008: * it under the terms of the GNU General Public License as published by
009: * the Free Software Foundation; either version 2 of the License, or
010: * (at your option) any later version.
011: *
012: * This program is distributed in the hope that it will be useful,
013: * but WITHOUT ANY WARRANTY; without even the implied warranty of
014: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
015: * General Public License for more details.
016: *
017: * You should have received a copy of the GNU General Public License
018: * along with this program; if not, write to the Free Software
019: * Foundation, Inc.,59 Temple Place, Suite 330, Boston, MA 02111-1307
020: * USA
021: *
022: * $Id: EmailOutput.java 7021 2007-04-24 06:59:38Z jzhang $
023: *
024: */
025: package com.bostechcorp.cbesb.runtime.component.email.wsdl;
026:
027: import java.io.Serializable;
028:
029: import javax.wsdl.extensions.ExtensibilityElement;
030: import javax.xml.namespace.QName;
031:
032: import com.bostechcorp.cbesb.runtime.component.util.wsdl.BaseCommonAttribute;
033:
034: /**
035: *
036: */
037: public class EmailOutput extends BaseCommonAttribute implements
038: ExtensibilityElement, Serializable {
039:
040: /**
041: * Generated serial version UID.
042: */
043: private static final long serialVersionUID = 3339430356865809673L;
044:
045: /**
046: * required.
047: */
048: protected Boolean required;
049:
050: /**
051: * elementType.
052: */
053: protected QName elementType;
054:
055: /**
056: * Encoding
057: */
058: private String Charset;
059:
060: /**
061: * SMTP host name or IP address
062: */
063: private String Host;
064:
065: /**
066: * remote port number for SMTP
067: */
068: private String Port;
069:
070: /**
071: * User name for SMTP server
072: */
073: private String User;
074:
075: /**
076: * Password for SMTP server
077: */
078: private String Password;
079:
080: /**
081: * The sender email address.
082: */
083: private String From;
084:
085: /**
086: * The recipient email address(es). If multiple email addresses were specified in the
087: * email, this will be a comma separated list.
088: */
089: private String To;
090:
091: /**
092: * The Carbon Copy Recipient email address(es).
093: */
094: private String Cc;
095:
096: /**
097: * The Blind Carbon Copy Recipient email address(es). If multiple email addresses
098: * were specified in the email, this will be a comma separated list.
099: */
100: private String Bcc;
101:
102: /**
103: * The email subject
104: */
105: private String Subject;
106:
107: /**
108: * Whether to use SSL
109: */
110: private String useSSL;
111:
112: /**
113: * @return the required
114: */
115: public Boolean getRequired() {
116: return required;
117: }
118:
119: /**
120: * @param required the required to set
121: */
122: public void setRequired(Boolean required) {
123: this .required = required;
124: }
125:
126: /**
127: * @return the elementType
128: */
129: public QName getElementType() {
130: return elementType;
131: }
132:
133: /**
134: * @param elementType the elementType to set
135: */
136: public void setElementType(QName elementType) {
137: this .elementType = elementType;
138: }
139:
140: /**
141: * @return the charset
142: */
143: public String getCharset() {
144: return Charset;
145: }
146:
147: /**
148: * @param charset the charset to set
149: */
150: public void setCharset(String charset) {
151: Charset = charset;
152: }
153:
154: /**
155: * @return the host
156: */
157: public String getHost() {
158: return Host;
159: }
160:
161: /**
162: * @param host the host to set
163: */
164: public void setHost(String host) {
165: Host = host;
166: }
167:
168: /**
169: * @return the port
170: */
171: public String getPort() {
172: return Port;
173: }
174:
175: /**
176: * @param port the port to set
177: */
178: public void setPort(String port) {
179: Port = port;
180: }
181:
182: /**
183: * @return the user
184: */
185: public String getUser() {
186: return User;
187: }
188:
189: /**
190: * @param user the user to set
191: */
192: public void setUser(String user) {
193: User = user;
194: }
195:
196: /**
197: * @return the password
198: */
199: public String getPassword() {
200: return Password;
201: }
202:
203: /**
204: * @param password the password to set
205: */
206: public void setPassword(String password) {
207: Password = password;
208: }
209:
210: /**
211: * @return the from
212: */
213: public String getFrom() {
214: return From;
215: }
216:
217: /**
218: * @param from the from to set
219: */
220: public void setFrom(String from) {
221: From = from;
222: }
223:
224: /**
225: * @return the to
226: */
227: public String getTo() {
228: return To;
229: }
230:
231: /**
232: * @param to the to to set
233: */
234: public void setTo(String to) {
235: To = to;
236: }
237:
238: /**
239: * @return the cc
240: */
241: public String getCc() {
242: return Cc;
243: }
244:
245: /**
246: * @param cc the cc to set
247: */
248: public void setCc(String cc) {
249: Cc = cc;
250: }
251:
252: /**
253: * @return the bcc
254: */
255: public String getBcc() {
256: return Bcc;
257: }
258:
259: /**
260: * @param bcc the bcc to set
261: */
262: public void setBcc(String bcc) {
263: Bcc = bcc;
264: }
265:
266: /**
267: * @return the subject
268: */
269: public String getSubject() {
270: return Subject;
271: }
272:
273: /**
274: * @param subject the subject to set
275: */
276: public void setSubject(String subject) {
277: Subject = subject;
278: }
279:
280: /**
281: * @return the useSSL
282: */
283: public String getUseSSL() {
284: return useSSL;
285: }
286:
287: /**
288: * @param useSSL the useSSL to set
289: */
290: public void setUseSSL(String useSSL) {
291: this .useSSL = useSSL;
292: }
293:
294: @Override
295: public String toString() {
296: return "EmailOutput[" + "required=" + required + ", "
297: + "elementType=" + elementType + ", "
298: + super .toString() + ", " + "Charset=" + Charset + ", "
299: + "Host=" + Host + ", " + "Port=" + Port + ", "
300: + "User=" + User + ", " + "Password=" + Password + ", "
301: + "From=" + From + ", " + "To=" + To + ", " + "Cc="
302: + Cc + ", " + "Bcc=" + Bcc + ", " + "Subject="
303: + Subject + ", " + "useSSL=" + useSSL + "]";
304: }
305: }
|