Clover Coverage Report - Kuali Student 1.1.0-M10-SNAPSHOT (Aggregated)
Coverage timestamp: Fri Dec 17 2010 05:04:51 EST
../../../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
22   185   22   1
0   99   1   22
22     1  
1    
 
  CluIdentifierInfo       Line # 31 22 0% 22 0 100% 1.0
 
  (106)
 
1    /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10    * software distributed under the License is distributed on an "AS IS"
11    * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12    * or implied. See the License for the specific language governing
13    * permissions and limitations under the License.
14    */
15   
16    package org.kuali.student.lum.lu.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 CLU Identifier
29    */
30    @XmlAccessorType(XmlAccessType.FIELD)
 
31    public class CluIdentifierInfo implements Serializable, Idable {
32   
33    private static final long serialVersionUID = 1L;
34   
35    @XmlElement
36    private String code;
37   
38    @XmlElement
39    private String shortName;
40   
41    @XmlElement
42    private String longName;
43   
44    @XmlElement
45    private String level;
46   
47    @XmlElement
48    private String division;
49   
50    @XmlElement
51    private String variation;
52   
53    @XmlElement
54    private String suffixCode;
55   
56    @XmlElement
57    private String orgId;
58   
59    @XmlAttribute
60    private String type;
61   
62    @XmlAttribute
63    private String state;
64   
65    @XmlAttribute
66    private String id;
67   
68    /**
69    * The composite string that is used to officially reference or publish the CLU. Note it may have an internal structure that each Institution may want to enforce. This structure may be composed from the other parts of the structure such as Level amp; Division, but may include items such as cluType.
70    */
 
71  811 toggle public String getCode() {
72  811 return code;
73    }
74   
 
75  1219 toggle public void setCode(String code) {
76  1219 this.code = code;
77    }
78   
79    /**
80    * Abbreviated name of the CLU, commonly used on transcripts
81    */
 
82  836 toggle public String getShortName() {
83  836 return shortName;
84    }
85   
 
86  1177 toggle public void setShortName(String shortName) {
87  1177 this.shortName = shortName;
88    }
89   
 
90  745 toggle public String getLongName() {
91  745 return longName;
92    }
93   
 
94  1145 toggle public void setLongName(String longName) {
95  1145 this.longName = longName;
96    }
97   
98    /**
99    * A code that indicates whether this is introductory, advanced, etc.
100    */
 
101  359 toggle public String getLevel() {
102  359 return level;
103    }
104   
 
105  1032 toggle public void setLevel(String level) {
106  1032 this.level = level;
107    }
108   
109    /**
110    * A code that indicates what school, program, major, subject area, etc. Examples: "Chem", "18"
111    */
 
112  433 toggle public String getDivision() {
113  433 return division;
114    }
115   
 
116  1078 toggle public void setDivision(String division) {
117  1078 this.division = division;
118    }
119   
120    /*
121    * The "extra" portion of the code, which usually corresponds with the most detailed part of the number.
122    */
 
123  433 toggle public String getSuffixCode() {
124  433 return suffixCode;
125    }
126   
 
127  1078 toggle public void setSuffixCode(String suffixCode) {
128  1078 this.suffixCode = suffixCode;
129    }
130   
131    /**
132    * A number that indicates the sequence or order of versions in cases where several different Clus have the same offical Identifier
133    */
 
134  390 toggle public String getVariation() {
135  390 return variation;
136    }
137   
 
138  1053 toggle public void setVariation(String variation) {
139  1053 this.variation = variation;
140    }
141   
142    /*
143    * The identifier of the organization associated with this cluIdentifier.
144    */
 
145  301 toggle public String getOrgId() {
146  301 return orgId;
147    }
148   
 
149  1002 toggle public void setOrgId(String orgId) {
150  1002 this.orgId = orgId;
151    }
152   
153    /**
154    * Identifies the type of usage for the identifier. While most usages will have the same data constraints, this may provide some context around what the specific intent is for this identifier. (Ex. Why does this alternate identifier exist?)
155    */
 
156  1077 toggle public String getType() {
157  1077 return type;
158    }
159   
 
160  1219 toggle public void setType(String type) {
161  1219 this.type = type;
162    }
163   
164    /**
165    * Identifies the state of the identifier. Values for this field are constrained to values present within the cluIdentifierState enumeration.
166    */
 
167  304 toggle public String getState() {
168  304 return state;
169    }
170   
 
171  1166 toggle public void setState(String state) {
172  1166 this.state = state;
173    }
174   
175    /**
176    * 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.
177    */
 
178  417 toggle public String getId() {
179  417 return id;
180    }
181   
 
182  1100 toggle public void setId(String id) {
183  1100 this.id = id;
184    }
185    }