Clover Coverage Report - Kuali Student 1.1-SNAPSHOT (Aggregated)
Coverage timestamp: Thu Mar 3 2011 04:02:59 EST
../../../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
12   124   12   1
0   58   1   12
12     1  
1    
 
  CourseVariationInfo       Line # 37 12 0% 12 0 100% 1.0
 
  (15)
 
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:11 PDT 2010
33    * @See <a href="https://test.kuali.org/confluence/display/KULSTU/courseVariationInfo+Structure">CourseVariationInfo</>
34    *
35    */
36    @XmlAccessorType(XmlAccessType.FIELD)
 
37    public class CourseVariationInfo implements Serializable, Idable {
38   
39    private static final long serialVersionUID = 1L;
40   
41    @XmlElement
42    private String variationTitle;
43   
44    @XmlElement
45    private String subjectArea;
46   
47    @XmlElement
48    private String courseNumberSuffix;
49   
50    @XmlElement
51    private String variationCode;
52   
53    @XmlAttribute
54    private String type;
55   
56    @XmlAttribute
57    private String id;
58   
59    /**
60    * Full name of the variation, commonly used on catalogues
61    */
 
62  62 toggle public String getVariationTitle() {
63  62 return variationTitle;
64    }
65   
 
66  122 toggle public void setVariationTitle(String variationTitle) {
67  122 this.variationTitle = variationTitle;
68    }
69   
70    /**
71    *
72    */
 
73  12 toggle public String getSubjectArea() {
74  12 return subjectArea;
75    }
76   
 
77  122 toggle public void setSubjectArea(String subjectArea) {
78  122 this.subjectArea = subjectArea;
79    }
80   
81    /**
82    * The "extra" portion of the code, which usually corresponds with the most detailed part of the number.
83    */
 
84  12 toggle public String getCourseNumberSuffix() {
85  12 return courseNumberSuffix;
86    }
87   
 
88  122 toggle public void setCourseNumberSuffix(String courseNumberSuffix) {
89  122 this.courseNumberSuffix = courseNumberSuffix;
90    }
91   
92    /**
93    * A number that indicates the sequence or order of variation in cases where several different variations have the same offical Identifier
94    */
 
95  62 toggle public String getVariationCode() {
96  62 return variationCode;
97    }
98   
 
99  122 toggle public void setVariationCode(String variationCode) {
100  122 this.variationCode = variationCode;
101    }
102   
103    /**
104    * This is the CluIdentifier Type. It can only have a single value for VariationType
105    */
 
106  12 toggle public String getType() {
107  12 return type;
108    }
109   
 
110  122 toggle public void setType(String type) {
111  122 this.type = type;
112    }
113   
114    /**
115    * 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.
116    */
 
117  62 toggle public String getId() {
118  62 return id;
119    }
120   
 
121  122 toggle public void setId(String id) {
122  122 this.id = id;
123    }
124    }