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