Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
CourseCrossListingInfo |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright 2009 The Kuali Foundation | |
3 | * | |
4 | * Licensed under the Educational Community License, Version 1.0 (the "License"); | |
5 | * you may not use this file except in compliance with the License. | |
6 | * You may obtain a copy of the License at | |
7 | * | |
8 | * http://www.opensource.org/licenses/ecl1.php | |
9 | * | |
10 | * Unless required by applicable law or agreed to in writing, software | |
11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
13 | * See the License for the specific language governing permissions and | |
14 | * limitations under the License. | |
15 | */ | |
16 | package org.kuali.student.lum.course.dto; | |
17 | ||
18 | import java.io.Serializable; | |
19 | ||
20 | import javax.xml.bind.annotation.XmlAccessType; | |
21 | import javax.xml.bind.annotation.XmlAccessorType; | |
22 | import javax.xml.bind.annotation.XmlAttribute; | |
23 | import javax.xml.bind.annotation.XmlElement; | |
24 | ||
25 | import org.kuali.student.core.dto.Idable; | |
26 | ||
27 | /** | |
28 | * Detailed information about the human readable form of a Variation | |
29 | * | |
30 | * @Author KSContractMojo | |
31 | * @Author Kamal | |
32 | * @Since Tue May 18 11:31:09 PDT 2010 | |
33 | * @See <a href="https://test.kuali.org/confluence/display/KULSTU/courseCrossListingInfo+Structure">CourseCrossListingInfo</> | |
34 | * | |
35 | */ | |
36 | @XmlAccessorType(XmlAccessType.FIELD) | |
37 | 0 | public class CourseCrossListingInfo implements Serializable, Idable { |
38 | ||
39 | private static final long serialVersionUID = 1L; | |
40 | ||
41 | @XmlElement | |
42 | private String subjectArea; | |
43 | ||
44 | @XmlElement | |
45 | private String department; | |
46 | ||
47 | @XmlElement | |
48 | private String courseNumberSuffix; | |
49 | ||
50 | @XmlAttribute | |
51 | private String type; | |
52 | ||
53 | @XmlAttribute | |
54 | private String id; | |
55 | ||
56 | /** | |
57 | * | |
58 | */ | |
59 | public String getSubjectArea() { | |
60 | 0 | return subjectArea; |
61 | } | |
62 | ||
63 | public void setSubjectArea(String subjectArea) { | |
64 | 0 | this.subjectArea = subjectArea; |
65 | 0 | } |
66 | ||
67 | /** | |
68 | * | |
69 | */ | |
70 | public String getDepartment() { | |
71 | 0 | return department; |
72 | } | |
73 | ||
74 | public void setDepartment(String department) { | |
75 | 0 | this.department = department; |
76 | 0 | } |
77 | ||
78 | /** | |
79 | * The "extra" portion of the code, which usually corresponds with the most detailed part of the number. | |
80 | */ | |
81 | public String getCourseNumberSuffix() { | |
82 | 0 | return courseNumberSuffix; |
83 | } | |
84 | ||
85 | public void setCourseNumberSuffix(String courseNumberSuffix) { | |
86 | 0 | this.courseNumberSuffix = courseNumberSuffix; |
87 | 0 | } |
88 | ||
89 | /** | |
90 | * This is the CluIdentifier Type. It can only have a single value for VariationType | |
91 | */ | |
92 | public String getType() { | |
93 | 0 | return type; |
94 | } | |
95 | ||
96 | public void setType(String type) { | |
97 | 0 | this.type = type; |
98 | 0 | } |
99 | ||
100 | /** | |
101 | * Identifies the particular identifier structure. This is set by the service to be able to determine changes and alterations to the structure as well as provides a handle for searches. This structure is not accessible through unique operations, and it is strongly recommended that no external references to this particular identifier be maintained. | |
102 | */ | |
103 | public String getId() { | |
104 | 0 | return id; |
105 | } | |
106 | ||
107 | public void setId(String id) { | |
108 | 0 | this.id = id; |
109 | 0 | } |
110 | } |