1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.commons.betwixt;
19
20 import java.sql.Timestamp;
21
22
23
24
25
26
27 public class EventBean {
28
29 private Timestamp start;
30 private Timestamp end;
31 private String type;
32 private String description;
33
34 public EventBean() {}
35
36 public EventBean(String type, String description, Timestamp start, Timestamp end)
37 {
38 this.type = type;
39 this.description = description;
40 this.start = start;
41 this.end = end;
42 }
43
44
45 public String getDescription() {
46 return description;
47 }
48
49 public Timestamp getEnd() {
50 return end;
51 }
52
53 public Timestamp getStart() {
54 return start;
55 }
56
57 public String getType() {
58 return type;
59 }
60
61 public void setDescription(String string) {
62 description = string;
63 }
64
65 public void setEnd(Timestamp timestamp) {
66 end = timestamp;
67 }
68
69 public void setStart(Timestamp timestamp) {
70 start = timestamp;
71 }
72
73 public void setType(String string) {
74 type = string;
75 }
76
77 }