1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
package org.kuali.student.r2.common.dto; |
18 | |
|
19 | |
import java.io.Serializable; |
20 | |
import java.util.List; |
21 | |
|
22 | |
import javax.xml.bind.annotation.XmlAccessType; |
23 | |
import javax.xml.bind.annotation.XmlAccessorType; |
24 | |
import javax.xml.bind.annotation.XmlAnyElement; |
25 | |
import javax.xml.bind.annotation.XmlElement; |
26 | |
import javax.xml.bind.annotation.XmlType; |
27 | |
|
28 | |
import org.kuali.student.r2.common.infc.MeetingSchedule; |
29 | |
import org.w3c.dom.Element; |
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
|
36 | |
|
37 | |
|
38 | |
@XmlAccessorType(XmlAccessType.FIELD) |
39 | |
@XmlType(name = "MeetingScheduleInfo", propOrder = { |
40 | |
"id", "spaceId", "scheduleId", |
41 | |
"_futureElements"}) |
42 | |
|
43 | |
public class MeetingScheduleInfo |
44 | |
implements MeetingSchedule, Serializable { |
45 | |
|
46 | |
private static final long serialVersionUID = 1L; |
47 | |
|
48 | |
@XmlElement |
49 | |
private String id; |
50 | |
|
51 | |
@XmlElement |
52 | |
private String spaceId; |
53 | |
|
54 | |
@XmlElement |
55 | |
private String scheduleId; |
56 | |
|
57 | |
@XmlAnyElement |
58 | |
private List<Element> _futureElements; |
59 | |
|
60 | |
|
61 | |
|
62 | |
|
63 | |
|
64 | 0 | public MeetingScheduleInfo() { |
65 | 0 | } |
66 | |
|
67 | |
|
68 | |
|
69 | |
|
70 | |
|
71 | |
|
72 | |
|
73 | 0 | public MeetingScheduleInfo(MeetingSchedule meetingSchedule) { |
74 | 0 | if (null != meetingSchedule) { |
75 | 0 | this.id = meetingSchedule.getId(); |
76 | 0 | this.spaceId = meetingSchedule.getSpaceId(); |
77 | 0 | this.scheduleId = meetingSchedule.getScheduleId(); |
78 | |
} |
79 | 0 | } |
80 | |
|
81 | |
@Override |
82 | |
public String getId() { |
83 | 0 | return id; |
84 | |
} |
85 | |
|
86 | |
public void setId(String id) { |
87 | 0 | this.id = id; |
88 | 0 | } |
89 | |
|
90 | |
@Override |
91 | |
public String getSpaceId() { |
92 | 0 | return spaceId; |
93 | |
} |
94 | |
|
95 | |
public void setSpaceId(String spaceId) { |
96 | 0 | this.spaceId = spaceId; |
97 | 0 | } |
98 | |
|
99 | |
@Override |
100 | |
public String getScheduleId() { |
101 | 0 | return scheduleId; |
102 | |
} |
103 | |
|
104 | |
public void setScheduleId(String scheduleId) { |
105 | 0 | this.scheduleId = scheduleId; |
106 | 0 | } |
107 | |
|
108 | |
} |