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