1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.r2.core.atp.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.RelationshipInfo; |
28 | |
import org.kuali.student.r2.core.atp.infc.AtpMilestoneRelation; |
29 | |
import org.w3c.dom.Element; |
30 | |
|
31 | |
@XmlAccessorType(XmlAccessType.FIELD) |
32 | |
@XmlType(name = "AtpMilestoneRelationInfo", propOrder = { "id", "typeKey", |
33 | |
"stateKey", "atpKey", "milestoneKey", "effectiveDate", |
34 | |
"expirationDate", "meta", "attributes", "_futureElements" }) |
35 | |
public class AtpMilestoneRelationInfo extends RelationshipInfo implements |
36 | |
AtpMilestoneRelation, Serializable { |
37 | |
|
38 | |
private static final long serialVersionUID = 1L; |
39 | |
@XmlElement |
40 | |
private String atpKey; |
41 | |
@XmlElement |
42 | |
private String milestoneKey; |
43 | |
@XmlAnyElement |
44 | |
private List<Element> _futureElements; |
45 | |
|
46 | 0 | public AtpMilestoneRelationInfo() { |
47 | 0 | atpKey = null; |
48 | 0 | milestoneKey = null; |
49 | 0 | _futureElements = null; |
50 | 0 | } |
51 | |
|
52 | |
|
53 | |
|
54 | |
|
55 | |
|
56 | |
|
57 | |
|
58 | |
|
59 | |
public AtpMilestoneRelationInfo(AtpMilestoneRelation amr) { |
60 | 0 | super(amr); |
61 | 0 | if (null != amr) { |
62 | 0 | this.atpKey = amr.getAtpKey(); |
63 | 0 | this.milestoneKey = amr.getMilestoneKey(); |
64 | 0 | _futureElements = null; |
65 | |
} |
66 | 0 | } |
67 | |
|
68 | |
@Override |
69 | |
public String getAtpKey() { |
70 | 0 | return atpKey; |
71 | |
} |
72 | |
|
73 | |
|
74 | |
public void setAtpKey(String atpKey) { |
75 | 0 | this.atpKey = atpKey; |
76 | 0 | } |
77 | |
|
78 | |
@Override |
79 | |
public String getMilestoneKey() { |
80 | 0 | return milestoneKey; |
81 | |
} |
82 | |
|
83 | |
|
84 | |
public void setMilestoneKey(String milestoneKey) { |
85 | 0 | this.milestoneKey = milestoneKey; |
86 | 0 | } |
87 | |
} |