001: package com.bostechcorp.cbesb.runtime.component.email.processors;
002:
003: import com.bostechcorp.cbesb.runtime.ccsl.jbi.messaging.IConsumerHandlerContext;
004:
005: public class EmailConsumerHandlerContext implements
006: IConsumerHandlerContext {
007: // Message Metadata
008: private String from = "";
009: private String to = "";
010: private String cc = "";
011: private String sent = "";
012: private String received = "";
013: private String subject = "";
014: private String attachment = "";
015:
016: /**
017: * @return the attachment
018: */
019: public String getAttachment() {
020: return attachment;
021: }
022:
023: /**
024: * @param attachment the attachment to set
025: */
026: public void setAttachment(String attachment) {
027: this .attachment = attachment;
028: }
029:
030: /**
031: * @return the cc
032: */
033: public String getCc() {
034: return cc;
035: }
036:
037: /**
038: * @param cc the cc to set
039: */
040: public void setCc(String cc) {
041: this .cc = cc;
042: }
043:
044: /**
045: * @return the from
046: */
047: public String getFrom() {
048: return from;
049: }
050:
051: /**
052: * @param from the from to set
053: */
054: public void setFrom(String from) {
055: this .from = from;
056: }
057:
058: /**
059: * @return the received
060: */
061: public String getReceived() {
062: return received;
063: }
064:
065: /**
066: * @param received the received to set
067: */
068: public void setReceived(String received) {
069: this .received = received;
070: }
071:
072: /**
073: * @return the sent
074: */
075: public String getSent() {
076: return sent;
077: }
078:
079: /**
080: * @param sent the sent to set
081: */
082: public void setSent(String sent) {
083: this .sent = sent;
084: }
085:
086: /**
087: * @return the subject
088: */
089: public String getSubject() {
090: return subject;
091: }
092:
093: /**
094: * @param subject the subject to set
095: */
096: public void setSubject(String subject) {
097: this .subject = subject;
098: }
099:
100: /**
101: * @return the to
102: */
103: public String getTo() {
104: return to;
105: }
106:
107: /**
108: * @param to the to to set
109: */
110: public void setTo(String to) {
111: this.to = to;
112: }
113:
114: }
|