1 2 3 package Jt; 4 5 import java.io.*; 6 7 11 12 public class JtMessage extends JtObject implements Serializable { 13 14 private Object msgId; 15 private Object msgTo; 16 private Object msgFrom; 17 private Object msgSubject; 18 private Object msgContent; 19 private Object msgData; 20 private Object msgReplyTo; 21 private Object msgAttachment; 22 23 24 public JtMessage () { 25 26 } 27 28 public JtMessage (String msgId) { 29 this.msgId = msgId; 30 } 31 32 37 38 41 42 public Object getMsgId () { 43 return msgId; 44 } 45 46 51 52 public void setMsgId(Object newMsgId) { 53 msgId = newMsgId; 54 } 55 56 57 61 62 public void setMsgTo (Object newMsgTo) { 63 msgTo = newMsgTo; 64 } 65 66 67 70 71 public Object getMsgTo() { 72 return msgTo; 73 } 74 75 79 80 public void setMsgFrom (Object newMsgFrom) { 81 msgFrom = newMsgFrom; 82 } 83 84 85 88 89 public Object getMsgFrom() { 90 return msgFrom; 91 } 92 93 98 99 public void setMsgSubject(Object newMsgSubject) { 100 msgSubject = newMsgSubject; 101 } 102 103 104 107 108 public Object getMsgSubject() { 109 return msgSubject; 110 } 111 112 113 117 118 public void setMsgContent(Object newMsgContent) { 119 msgContent = newMsgContent; 120 } 121 122 125 126 public Object getMsgContent() { 127 return msgContent; 128 } 129 130 131 135 136 public void setMsgData(Object newMsgData) { 137 msgData = newMsgData; 138 } 139 140 143 144 public Object getMsgData() { 145 return msgData; 146 } 147 148 152 153 public void setMsgAttachment(Object newMsgAttachment) { 154 msgAttachment = newMsgAttachment; 155 } 156 157 158 159 162 163 public Object getMsgAttachment() { 164 return msgAttachment; 165 } 166 167 168 172 173 174 public void setMsgReplyTo(Object newMsgReplyTo) { 175 msgReplyTo = newMsgReplyTo; 176 } 177 178 179 180 181 184 185 public Object getMsgReplyTo() { 186 return msgReplyTo; 187 } 188 189 190 } 191 | Popular Tags |