1
2
3
4
5
6
7
8
9
10
11 package org.kuali.student.r2.lum.course.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.XmlAttribute;
20 import javax.xml.bind.annotation.XmlElement;
21 import javax.xml.bind.annotation.XmlType;
22
23 import org.kuali.student.r2.common.dto.IdNamelessEntityInfo;
24 import org.kuali.student.r2.lum.course.infc.CourseVariation;
25
26
27 @XmlType(name = "CourseVariationInfo", propOrder = {"id", "typeKey", "stateKey", "variationTitle", "subjectArea", "courseNumberSuffix", "variationCode", "meta", "attributes" })
28 @XmlAccessorType(XmlAccessType.FIELD)
29 public class CourseVariationInfo extends IdNamelessEntityInfo implements CourseVariation, Serializable {
30
31 private static final long serialVersionUID = 1L;
32
33 @XmlElement
34 private String variationTitle;
35
36 @XmlElement
37 private String subjectArea;
38
39 @XmlElement
40 private String courseNumberSuffix;
41
42 @XmlElement
43 private String variationCode;
44
45
46
47
48
49 public CourseVariationInfo() {
50
51 }
52
53 public CourseVariationInfo(CourseVariation courseVariation) {
54 super(courseVariation);
55
56 if (courseVariation != null) {
57 this.variationTitle = courseVariation.getVariationTitle();
58 this.subjectArea = courseVariation.getSubjectArea();
59 this.courseNumberSuffix = courseVariation.getCourseNumberSuffix();
60 this.variationCode = courseVariation.getVariationCode();
61
62 }
63 }
64
65
66
67
68 @Override
69 public String getVariationTitle() {
70 return variationTitle;
71 }
72
73 public void setVariationTitle(String variationTitle) {
74 this.variationTitle = variationTitle;
75 }
76
77
78
79
80 @Override
81 public String getSubjectArea() {
82 return subjectArea;
83 }
84
85 public void setSubjectArea(String subjectArea) {
86 this.subjectArea = subjectArea;
87 }
88
89
90
91
92
93 @Override
94 public String getCourseNumberSuffix() {
95 return courseNumberSuffix;
96 }
97
98 public void setCourseNumberSuffix(String courseNumberSuffix) {
99 this.courseNumberSuffix = courseNumberSuffix;
100 }
101
102
103
104
105
106 @Override
107 public String getVariationCode() {
108 return variationCode;
109 }
110
111 public void setVariationCode(String variationCode) {
112 this.variationCode = variationCode;
113 }
114
115 }