Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | /* |
| 2 | * Copyright 2009-2014 PrimeTek. |
||
| 3 | * |
||
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
||
| 5 | * you may not use this file except in compliance with the License. |
||
| 6 | * You may obtain a copy of the License at |
||
| 7 | * |
||
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
||
| 9 | * |
||
| 10 | * Unless required by applicable law or agreed to in writing, software |
||
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
||
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||
| 13 | * See the License for the specific language governing permissions and |
||
| 14 | * limitations under the License. |
||
| 15 | */ |
||
| 16 | package org.primefaces.ultima.domain; |
||
| 17 | |||
| 18 | import java.io.Serializable; |
||
| 19 | import java.util.Date; |
||
| 20 | |||
| 21 | public class Mail implements Serializable { |
||
| 22 | |||
| 23 | public String from; |
||
| 24 | public String subject; |
||
| 25 | public String body; |
||
| 26 | public Date date; |
||
| 27 | |||
| 28 | public Mail() {} |
||
| 29 | |||
| 30 | public Mail(String from, String subject, String body, Date date) { |
||
| 31 | this.from = from; |
||
| 32 | this.subject = subject; |
||
| 33 | this.body = body; |
||
| 34 | this.date = date; |
||
| 35 | } |
||
| 36 | |||
| 37 | public String getBody() { |
||
| 38 | return body; |
||
| 39 | } |
||
| 40 | |||
| 41 | public void setBody(String body) { |
||
| 42 | this.body = body; |
||
| 43 | } |
||
| 44 | |||
| 45 | public Date getDate() { |
||
| 46 | return date; |
||
| 47 | } |
||
| 48 | |||
| 49 | public void setDate(Date date) { |
||
| 50 | this.date = date; |
||
| 51 | } |
||
| 52 | |||
| 53 | public String getFrom() { |
||
| 54 | return from; |
||
| 55 | } |
||
| 56 | |||
| 57 | public void setFrom(String from) { |
||
| 58 | this.from = from; |
||
| 59 | } |
||
| 60 | |||
| 61 | public String getSubject() { |
||
| 62 | return subject; |
||
| 63 | } |
||
| 64 | |||
| 65 | public void setSubject(String subject) { |
||
| 66 | this.subject = subject; |
||
| 67 | } |
||
| 68 | } |