source: ether_statistics/common/implementation/com/medias/mail/Mail.java @ 569

Last change on this file since 569 was 569, checked in by vmipsl, 12 years ago

Nouveau projet

File size: 1.7 KB
Line 
1package com.medias.mail;
2
3
4/**
5 * @author combaz
6 *
7 * Created on 15 mars 2005
8 */
9public class Mail {
10        private String from;
11        private String to;
12        private String bcc;
13        private String content;
14        private String subject;
15       
16        /**
17         * @param from
18         * @param to
19         */
20        public Mail(String from, String to, String bcc) {
21                super();
22                this.from = from;
23                this.to = to;
24                this.bcc = bcc;
25        }
26        /**
27         * @param from Adresse de l'expéditeur
28         * @param to Adresse du destinataire
29         * @param content Texte du com.medias.mail
30         * @param subject Sujet du com.medias.mail
31         */
32        public Mail(String from, String to, String bcc, String content, String subject) {
33                super();
34                this.from = from;
35                this.to = to;
36                this.bcc = bcc;
37                this.content = content;
38                this.subject = subject;
39        }
40       
41       
42        /**
43         * @return Returns the content.
44         */
45        public String getContent() {
46                return content;
47        }
48        /**
49         * @param content The content to set.
50         */
51        public void setContent(String content) {
52                this.content = content;
53        }
54        /**
55         * @return Returns the from.
56         */
57        public String getFrom() {
58                return from;
59        }
60        /**
61         * @param from The from to set.
62         */
63        public void setFrom(String from) {
64                this.from = from;
65        }
66        /**
67         * @return Returns the subject.
68         */
69        public String getSubject() {
70                return subject;
71        }
72        /**
73         * @param subject The subject to set.
74         */
75        public void setSubject(String subject) {
76                this.subject = subject;
77        }
78        /**
79         * @return Returns the to.
80         */
81        public String getTo() {
82                return to;
83        }
84        /**
85         * @param to The to to set.
86         */
87        public void setTo(String to) {
88                this.to = to;
89        }
90       
91        /**
92         * @return Returns the to.
93         */
94        public String getBcc() {
95                return bcc;
96        }
97        /**
98         * @param to The to to set.
99         */
100        public void setBcc(String bcc) {
101                this.bcc = bcc;
102        }
103}
Note: See TracBrowser for help on using the repository browser.