1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.r2.core.room.dto; |
17 | |
|
18 | |
import org.kuali.student.r2.common.dto.RelationshipInfo; |
19 | |
import org.kuali.student.r2.core.room.infc.RoomResponsibleOrg; |
20 | |
import org.w3c.dom.Element; |
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 | |
import java.io.Serializable; |
28 | |
import java.util.List; |
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
@XmlAccessorType(XmlAccessType.FIELD) |
36 | |
@XmlType(name = "RoomResponsibleOrgInfo", propOrder = {"id", "typeKey", "stateKey", "roomId", "orgId", "effectiveDate", "expirationDate", "meta", "attributes", "_futureElements"}) |
37 | |
public class RoomResponsibleOrgInfo extends RelationshipInfo implements RoomResponsibleOrg, Serializable { |
38 | |
|
39 | |
private static final long serialVersionUID = 1L; |
40 | |
|
41 | |
@XmlElement |
42 | |
private String roomId; |
43 | |
@XmlElement |
44 | |
private String orgId; |
45 | |
|
46 | |
@XmlAnyElement |
47 | |
private List<Element> _futureElements; |
48 | |
|
49 | 0 | public RoomResponsibleOrgInfo() { |
50 | |
|
51 | 0 | } |
52 | |
|
53 | 0 | public RoomResponsibleOrgInfo(RoomResponsibleOrg roomResponsibleOrg) { |
54 | 0 | if (null != roomResponsibleOrg) { |
55 | 0 | this.roomId = roomResponsibleOrg.getRoomId(); |
56 | 0 | this.orgId = roomResponsibleOrg.getOrgId(); |
57 | |
} |
58 | 0 | } |
59 | |
|
60 | |
@Override |
61 | |
public String getRoomId() { |
62 | 0 | return roomId; |
63 | |
} |
64 | |
|
65 | |
public void setRoomId(String roomId) { |
66 | 0 | this.roomId = roomId; |
67 | 0 | } |
68 | |
|
69 | |
@Override |
70 | |
public String getOrgId() { |
71 | 0 | return this.orgId; |
72 | |
} |
73 | |
|
74 | |
public void setOrgId(String orgId) { |
75 | 0 | this.orgId = orgId; |
76 | 0 | } |
77 | |
|
78 | |
} |