1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.r2.lum.clu.dto; |
17 | |
|
18 | |
import org.kuali.student.r2.common.dto.IdNamelessEntityInfo; |
19 | |
import org.kuali.student.r2.lum.clu.infc.CluIdentifier; |
20 | |
|
21 | |
import javax.xml.bind.Element; |
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 | |
@XmlAccessorType(XmlAccessType.FIELD) |
34 | |
@XmlType(name = "CluIdentifierInfo", propOrder = {"id", "typeKey", "stateKey", "code", "shortName", "longName", "level", "division", "variation", "suffixCode", "orgId", "meta", "attributes", "_futureElements"}) |
35 | |
public class CluIdentifierInfo extends IdNamelessEntityInfo implements CluIdentifier, Serializable { |
36 | |
|
37 | |
private static final long serialVersionUID = 1L; |
38 | |
|
39 | |
@XmlElement |
40 | |
private String code; |
41 | |
|
42 | |
@XmlElement |
43 | |
private String shortName; |
44 | |
|
45 | |
@XmlElement |
46 | |
private String longName; |
47 | |
|
48 | |
@XmlElement |
49 | |
private String level; |
50 | |
|
51 | |
@XmlElement |
52 | |
private String division; |
53 | |
|
54 | |
@XmlElement |
55 | |
private String variation; |
56 | |
|
57 | |
@XmlElement |
58 | |
private String suffixCode; |
59 | |
|
60 | |
@XmlElement |
61 | |
private String orgId; |
62 | |
|
63 | |
@XmlAnyElement |
64 | |
private List<Element> _futureElements; |
65 | |
|
66 | 0 | public CluIdentifierInfo() { |
67 | |
|
68 | 0 | } |
69 | |
|
70 | |
public CluIdentifierInfo(CluIdentifier cluIdentifier) { |
71 | 0 | super(cluIdentifier); |
72 | 0 | if (null != cluIdentifier) { |
73 | 0 | this.code = cluIdentifier.getCode(); |
74 | 0 | this.shortName = cluIdentifier.getShortName(); |
75 | 0 | this.longName = cluIdentifier.getLongName(); |
76 | 0 | this.level = cluIdentifier.getLevel(); |
77 | 0 | this.division = cluIdentifier.getDivision(); |
78 | 0 | this.variation = cluIdentifier.getVariation(); |
79 | 0 | this.suffixCode = cluIdentifier.getSuffixCode(); |
80 | 0 | this.orgId = cluIdentifier.getOrgId(); |
81 | |
} |
82 | 0 | } |
83 | |
|
84 | |
@Override |
85 | |
public String getCode() { |
86 | 0 | return code; |
87 | |
} |
88 | |
|
89 | |
public void setCode(String code) { |
90 | 0 | this.code = code; |
91 | 0 | } |
92 | |
|
93 | |
@Override |
94 | |
public String getShortName() { |
95 | 0 | return shortName; |
96 | |
} |
97 | |
|
98 | |
public void setShortName(String shortName) { |
99 | 0 | this.shortName = shortName; |
100 | 0 | } |
101 | |
|
102 | |
@Override |
103 | |
public String getLongName() { |
104 | 0 | return longName; |
105 | |
} |
106 | |
|
107 | |
public void setLongName(String longName) { |
108 | 0 | this.longName = longName; |
109 | 0 | } |
110 | |
|
111 | |
@Override |
112 | |
public String getLevel() { |
113 | 0 | return level; |
114 | |
} |
115 | |
|
116 | |
public void setLevel(String level) { |
117 | 0 | this.level = level; |
118 | 0 | } |
119 | |
|
120 | |
@Override |
121 | |
public String getDivision() { |
122 | 0 | return division; |
123 | |
} |
124 | |
|
125 | |
public void setDivision(String division) { |
126 | 0 | this.division = division; |
127 | 0 | } |
128 | |
|
129 | |
@Override |
130 | |
public String getSuffixCode() { |
131 | 0 | return suffixCode; |
132 | |
} |
133 | |
|
134 | |
public void setSuffixCode(String suffixCode) { |
135 | 0 | this.suffixCode = suffixCode; |
136 | 0 | } |
137 | |
|
138 | |
@Override |
139 | |
public String getVariation() { |
140 | 0 | return variation; |
141 | |
} |
142 | |
|
143 | |
public void setVariation(String variation) { |
144 | 0 | this.variation = variation; |
145 | 0 | } |
146 | |
|
147 | |
@Override |
148 | |
public String getOrgId() { |
149 | 0 | return orgId; |
150 | |
} |
151 | |
|
152 | |
public void setOrgId(String orgId) { |
153 | 0 | this.orgId = orgId; |
154 | 0 | } |
155 | |
} |