01: package org.geotools.ml;
02:
03: import java.util.Calendar;
04:
05: public class Envelope {
06: String from;
07: String to;
08: Calendar date;
09: String subject;
10: Header[] headers;
11:
12: public Envelope(String from, String to, Calendar date,
13: String subject, Header[] headers) {
14: super ();
15:
16: this .date = date;
17: this .from = from;
18: this .headers = headers;
19: this .subject = subject;
20: this .to = to;
21: }
22:
23: public Calendar getDate() {
24: return date;
25: }
26:
27: public String getFrom() {
28: return from;
29: }
30:
31: public Header[] getHeaders() {
32: return headers;
33: }
34:
35: public String getSubject() {
36: return subject;
37: }
38:
39: public String getTo() {
40: return to;
41: }
42:
43: }
|