1 | public class Circular {↵ | | 1 | public class ↵
|
2 | ↵ | | |
|
3 | ↵ | | 2 | Event {↵
|
4 | private String id;↵ | | 3 | private Long id;↵
|
5 | private Class clazz;↵ | | |
|
6 | private Circular other;↵ | | |
|
7 | private Object anyEntity;↵ | | |
|
8 | ↵ | | |
|
9 | /**↵ | | |
|
10 | * Constructor for Circular.↵ | | |
|
11 | */↵ | | |
|
12 | public Circular() {↵ | | |
|
13 | super();↵ | | |
|
14 | }↵ | | |
|
15 | ↵ | | |
|
16 | /**↵ | | |
|
17 | * Returns the clazz.↵ | | |
|
18 | * @return Class↵ | | |
|
19 | */↵ | | |
|
20 | public Class getClazz() {↵ | | |
|
21 | return clazz;↵ | | |
|
22 | }↵ | | |
|
23 | ↵ | | |
|
24 | /**↵ | | |
|
25 | * Returns the id.↵ | | |
|
26 | * @return String↵ | | |
|
27 | */↵ | | |
|
28 | public String getId() {↵ | | |
|
29 | return id;↵ | | |
|
30 | }↵ | | |
|
31 | ↵ | | |
|
32 | /**↵ | | |
|
33 | * Sets the clazz.↵ | | |
|
34 | * @param clazz The clazz to set↵ | | |
|
35 | */↵ | | |
|
36 | public void setClazz(Class clazz) {↵ | | |
|
37 | this.clazz = clazz;↵ | | |
|
38 | }↵ | | |
|
39 | ↵ | | |
|
40 | /**↵ | | |
|
41 | * Sets the id.↵ | | |
|
42 | * @param id The id to set↵ | | |
|
43 | */↵ | | |
|
44 | public void setId(String id) {↵ | | |
|
45 | ↵ | | |
|
| | | 4 | private String title;↵
|
| | | 5 | private Date date;↵
|
|
| | | 6 | public Event() {}↵
|
|
| | | 7 | public Long getId() {↵
|
| | | 8 | return id;↵
|
| | | 9 | }↵
|
|
| | | 10 | private void setId(Long id) {↵
|
| | | 11 | this.id = id;↵
|
| | | 12 | }↵
|
|
| | | 13 | public Date getDate() {↵
|
| | | 14 | return date;↵
|
| | | 15 | }↵
|
|
| | | 16 | public void setDate(Date date) {↵
|
46 | this.id = id;↵ | | 17 | this.↵
|
47 | }↵ | | |
|
48 | ↵ | | |
|
49 | /**↵ | | |
|
50 | * Returns the other.↵ | | |
|
51 | * @return Circular↵ | | |
|
52 | */↵ | | |
|
53 | public Circular getOther() {↵ | | |
|
54 | return other;↵ | | |
|
55 | }↵ | | |
|
56 | ↵ | | |
|
57 | /**↵ | | |
|
58 | * Sets the other.↵ | | |
|
59 | * @param other The other to set↵ | | |
|
60 | */↵ | | |
|
61 | public void setOther(Circular other) {↵ | | |
|
62 | this.other = other;↵ | | |
|
63 | }↵ | | |
|
64 | ↵ | | |
|
65 | /**↵ | | |
|
66 | * Returns the anyEntity.↵ | | |
|
67 | * @return Object↵ | | |
|
68 | */↵ | | |
|
69 | public Object getAnyEntity() {↵ | | |
|
70 | return anyEntity;↵ | | |
|
71 | }↵ | | |
|
72 | ↵ | | |
|
73 | /**↵ | | |
|
74 | * Sets the anyEntity.↵ | | |
|
75 | * @param anyEntity The anyEntity to set↵ | | |
|
76 | */↵ | | |
|
77 | public void setAnyEntity(Object anyEntity) {↵ | | |
|
78 | this.anyEntity = anyEntity;↵ | | |
|
79 | | | 18 | date = date;↵
|
| | | 19 | }↵
|
|
| | | 20 | public String getTitle() {↵
|
| | | 21 | return title;↵
|
| | | 22 | }↵
|
|
| | | 23 | public void setTitle(String title) {↵
|
| | | 24 | this.title = title;↵
|
| | | 25 | }↵
|
| | | 26 | ↵
|
|
| | | 27 | private Set participants = new HashSet();↵
|
|
| | | 28 | public Set getParticipants() {↵
|
| | | 29 | return participants;↵
|
| | | 30 | }↵
|
|
| | | 31 | public void setParticipants(Set participants) {↵
|
| | | 32 | this.participants = participants;↵
|
| | | 33 |
|