01: /*
02: * Created on 09.10.2004
03: *
04: * To change the template for this generated file go to
05: * Window - Preferences - Java - Code Generation - Code and Comments
06: */
07: package de.schlund.pfixcore.example.webservices.chat;
08:
09: import java.util.Calendar;
10:
11: /**
12: * @author ml
13: *
14: * To change the template for this generated type comment go to
15: * Window - Preferences - Java - Code Generation - Code and Comments
16: */
17: public class Message {
18:
19: private String from;
20: private String text;
21: private Calendar date;
22:
23: public Message() {
24: }
25:
26: public Message(String from, String text, Calendar date) {
27: this .from = from;
28: this .text = text;
29: this .date = date;
30: }
31:
32: public String getFrom() {
33: return from;
34: }
35:
36: public void setFrom(String from) {
37: this .from = from;
38: }
39:
40: public String getText() {
41: return text;
42: }
43:
44: public void setText(String text) {
45: this .text = text;
46: }
47:
48: public Calendar getDate() {
49: return date;
50: }
51:
52: public void setDate(Calendar date) {
53: this.date = date;
54: }
55:
56: }
|