1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
package org.kuali.student.enrollment.hold.dto; |
16 | |
|
17 | |
import java.io.Serializable; |
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.hold.infc.Issue; |
27 | |
import org.kuali.student.r2.common.dto.IdEntityInfo; |
28 | |
import org.w3c.dom.Element; |
29 | |
|
30 | |
@XmlAccessorType(XmlAccessType.FIELD) |
31 | |
@XmlType(name = "IssueInfo", propOrder = { "id", "typeKey", "stateKey", "name", |
32 | |
"descr", "organizationId", "meta", "attributes", "_futureElements" }) |
33 | |
public class IssueInfo extends IdEntityInfo implements Issue, Serializable { |
34 | |
private static final long serialVersionUID = 1L; |
35 | |
|
36 | |
@XmlElement |
37 | |
private String organizationId; |
38 | |
|
39 | |
@XmlAnyElement |
40 | |
private List<Element> _futureElements; |
41 | |
|
42 | |
public IssueInfo() { |
43 | 0 | super(); |
44 | 0 | organizationId = null; |
45 | 0 | _futureElements = null; |
46 | 0 | } |
47 | |
|
48 | |
|
49 | |
|
50 | |
|
51 | |
|
52 | |
|
53 | |
public IssueInfo(Issue issue) { |
54 | 0 | super(issue); |
55 | 0 | if (null != issue) { |
56 | 0 | this.organizationId = issue.getOrganizationId(); |
57 | |
} |
58 | |
|
59 | 0 | _futureElements = null; |
60 | 0 | } |
61 | |
|
62 | |
@Override |
63 | |
public String getOrganizationId() { |
64 | 0 | return organizationId; |
65 | |
} |
66 | |
|
67 | |
public void setOrganizationId(String orgId) { |
68 | 0 | this.organizationId = orgId; |
69 | 0 | } |
70 | |
} |