1
2
3
4
5
6
7
8
9
10
11 package org.kuali.student.enrollment.lrr.dto;
12
13 import java.io.Serializable;
14 import java.util.List;
15
16 import javax.xml.bind.annotation.XmlAccessType;
17 import javax.xml.bind.annotation.XmlAccessorType;
18 import javax.xml.bind.annotation.XmlAnyElement;
19 import javax.xml.bind.annotation.XmlElement;
20 import javax.xml.bind.annotation.XmlType;
21
22 import org.kuali.student.enrollment.lrr.infc.ResultSource;
23 import org.kuali.student.r2.common.dto.IdEntityInfo;
24 import org.w3c.dom.Element;
25
26 @XmlAccessorType(XmlAccessType.FIELD)
27 @XmlType(name = "ResultSourceInfo", propOrder = {"id", "typeKey", "name", "descr", "articulationId",
28 "resultTransformationId", "meta", "attributes", "_futureElements"})
29 public class ResultSourceInfo extends IdEntityInfo implements ResultSource, Serializable {
30
31 private static final long serialVersionUID = 1L;
32
33 @XmlElement
34 private String articulationId;
35
36 @XmlElement
37 private String resultTransformationId;
38
39 @XmlAnyElement
40 private List<Element> _futureElements;
41
42 public ResultSourceInfo() {
43
44 }
45
46 public ResultSourceInfo(ResultSource resultSource) {
47 super(resultSource);
48
49 this.articulationId = resultSource.getArticulationId();
50 this.resultTransformationId = resultSource.getResultTransformationId();
51 }
52
53 public String getArticulationId() {
54 return articulationId;
55 }
56
57 public String getResultTransformationId() {
58 return resultTransformationId;
59 }
60
61 public void setArticulationId(String articulationId) {
62 this.articulationId = articulationId;
63 }
64
65 public void setResultTransformationId(String resultTransformationId) {
66 this.resultTransformationId = resultTransformationId;
67 }
68 }