01: package org.geotools.ml;
02:
03: import java.math.BigInteger;
04:
05: public class Mail {
06:
07: BigInteger id;
08: Envelope envelope;
09: String body;
10: Attachment[] attachments;
11:
12: public Mail(BigInteger id, String body, Envelope envelope,
13: Attachment[] attachments) {
14: super ();
15:
16: this .id = id;
17: this .body = body;
18: this .envelope = envelope;
19: this .attachments = attachments;
20: }
21:
22: public BigInteger getId() {
23: return id;
24: }
25:
26: public String getBody() {
27: return body;
28: }
29:
30: public Envelope getEnvelope() {
31: return envelope;
32: }
33:
34: public Attachment[] getAttachments() {
35: return attachments;
36: }
37: }
|