|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CluResultInfo | Line # 43 | 21 | 0% | 20 | 2 | 95.2% |
0.95238096
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
(29) | |||
Result | |||
0.95238096
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCreateCluResult org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCreateCluResult | 1 PASS | |
0.95238096
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testUpdateCluResult_RemoveAllCluResultOptions org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testUpdateCluResult_RemoveAllCluResultOptions | 1 PASS | |
0.95238096
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testUpdateCourse org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testUpdateCourse | 1 PASS | |
0.9047619
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateVariationsByMajorDiscipline org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateVariationsByMajorDiscipline | 1 PASS | |
0.9047619
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDeleteCourse org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDeleteCourse | 1 PASS | |
0.9047619
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testUpdateCluResult org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testUpdateCluResult | 1 PASS | |
0.85714287
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseCrossListing org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseCrossListing | 1 PASS | |
0.85714287
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDynamicAttributes org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDynamicAttributes | 1 PASS | |
0.85714287
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersions org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersions | 1 PASS | |
0.85714287
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseVersioning org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseVersioning | 1 PASS | |
0.85714287
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersionOnDate org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersionOnDate | 1 PASS | |
0.85714287
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionBySequenceNumber org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionBySequenceNumber | 1 PASS | |
0.85714287
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourse org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourse | 1 PASS | |
0.85714287
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionsInDateRange org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionsInDateRange | 1 PASS | |
0.85714287
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteVariationsByMajorDiscipline org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteVariationsByMajorDiscipline | 1 PASS | |
0.85714287
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetFirstVersion org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetFirstVersion | 1 PASS | |
0.85714287
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreditOptions org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreditOptions | 1 PASS | |
0.85714287
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourse org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourse | 1 PASS | |
0.85714287
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersion org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersion | 1 PASS | |
0.85714287
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDiscipline org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDiscipline | 1 PASS | |
0.85714287
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDisciplineRemoveRule org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDisciplineRemoveRule | 1 PASS | |
0.85714287
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateVariationsByMajorDiscipline org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateVariationsByMajorDiscipline | 1 PASS | |
0.8095238
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDiscipline org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDiscipline | 1 PASS | |
0.8095238
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDisciplineDeleteRule org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDisciplineDeleteRule | 1 PASS | |
0.8095238
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateBaccCredentialProgram org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateBaccCredentialProgram | 1 PASS | |
0.8095238
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateBaccCredentialProgram org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateBaccCredentialProgram | 1 PASS | |
0.8095238
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testMajorDisciplineVersioning org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testMajorDisciplineVersioning | 1 PASS | |
0.5714286
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetVariationsByMajorDisciplineId org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetVariationsByMajorDisciplineId | 1 PASS | |
0.5714286
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetMajorDiscipline org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetMajorDiscipline | 1 PASS | |
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 | import java.util.ArrayList; | |
20 | import java.util.Date; | |
21 | import java.util.List; | |
22 | ||
23 | import javax.xml.bind.annotation.XmlAccessType; | |
24 | import javax.xml.bind.annotation.XmlAccessorType; | |
25 | import javax.xml.bind.annotation.XmlAttribute; | |
26 | import javax.xml.bind.annotation.XmlElement; | |
27 | ||
28 | import org.kuali.student.common.dto.HasTypeState; | |
29 | import org.kuali.student.common.dto.Idable; | |
30 | import org.kuali.student.common.dto.MetaInfo; | |
31 | import org.kuali.student.common.dto.RichTextInfo; | |
32 | ||
33 | /** | |
34 | * Information about a CLU result. | |
35 | * | |
36 | * @Author KSContractMojo | |
37 | * @Author Kamal | |
38 | * @Since Mon Jan 11 15:21:27 PST 2010 | |
39 | * @See <a href="https://test.kuali.org/confluence/display/KULSTU/cluResultInfo+Structure+v1.0-rc4">CluResultInfo v1.0-rc4</> | |
40 | * | |
41 | */ | |
42 | @XmlAccessorType(XmlAccessType.FIELD) | |
43 | public class CluResultInfo implements Serializable, Idable, HasTypeState { | |
44 | ||
45 | private static final long serialVersionUID = 1L; | |
46 | ||
47 | @XmlElement | |
48 | private RichTextInfo desc; | |
49 | ||
50 | @XmlElement | |
51 | private String cluId; | |
52 | ||
53 | @XmlElement | |
54 | private List<ResultOptionInfo> resultOptions; | |
55 | ||
56 | @XmlElement | |
57 | private Date effectiveDate; | |
58 | ||
59 | @XmlElement | |
60 | private Date expirationDate; | |
61 | ||
62 | @XmlElement | |
63 | private MetaInfo metaInfo; | |
64 | ||
65 | @XmlAttribute | |
66 | private String type; | |
67 | ||
68 | @XmlAttribute | |
69 | private String state; | |
70 | ||
71 | @XmlAttribute | |
72 | private String id; | |
73 | ||
74 | /** | |
75 | * Narrative description of the CLU result. | |
76 | */ | |
77 | 120 | public RichTextInfo getDesc() { |
78 | 120 | return desc; |
79 | } | |
80 | ||
81 | 285 | public void setDesc(RichTextInfo desc) { |
82 | 285 | this.desc = desc; |
83 | } | |
84 | ||
85 | /** | |
86 | * The cluId to which the CLU Result is linked. Unique identifier for a Canonical Learning Unit (CLU). | |
87 | */ | |
88 | 94 | public String getCluId() { |
89 | 94 | return cluId; |
90 | } | |
91 | ||
92 | 420 | public void setCluId(String cluId) { |
93 | 420 | this.cluId = cluId; |
94 | } | |
95 | ||
96 | /** | |
97 | * List of learning result option information. | |
98 | */ | |
99 | 421 | public List<ResultOptionInfo> getResultOptions() { |
100 | 421 | if (resultOptions == null) { |
101 | 49 | resultOptions = new ArrayList<ResultOptionInfo>(0); |
102 | } | |
103 | 421 | return resultOptions; |
104 | } | |
105 | ||
106 | 303 | public void setResultOptions(List<ResultOptionInfo> resultOptions) { |
107 | 303 | this.resultOptions = resultOptions; |
108 | } | |
109 | ||
110 | /** | |
111 | * Date and time that this CLU result became effective. This is a similar concept to the effective date on enumerated values. When an expiration date has been specified, this field must be less than or equal to the expiration date. | |
112 | */ | |
113 | 119 | public Date getEffectiveDate() { |
114 | 119 | return effectiveDate; |
115 | } | |
116 | ||
117 | 285 | public void setEffectiveDate(Date effectiveDate) { |
118 | 285 | this.effectiveDate = effectiveDate; |
119 | } | |
120 | ||
121 | /** | |
122 | * Date and time that this CLU result expires. This is a similar concept to the expiration date on enumerated values. If specified, this must be greater than or equal to the effective date. If this field is not specified, then no expiration date has been currently defined and should automatically be considered greater than the effective date. | |
123 | */ | |
124 | 119 | public Date getExpirationDate() { |
125 | 119 | return expirationDate; |
126 | } | |
127 | ||
128 | 245 | public void setExpirationDate(Date expirationDate) { |
129 | 245 | this.expirationDate = expirationDate; |
130 | } | |
131 | ||
132 | /** | |
133 | * Create and last update info for the structure. This is optional and treated as read only since the data is set by the internals of the service during maintenance operations. | |
134 | */ | |
135 | 26 | public MetaInfo getMetaInfo() { |
136 | 26 | return metaInfo; |
137 | } | |
138 | ||
139 | 241 | public void setMetaInfo(MetaInfo metaInfo) { |
140 | 241 | this.metaInfo = metaInfo; |
141 | } | |
142 | ||
143 | /** | |
144 | * Unique identifier for a clu learning result object type. | |
145 | */ | |
146 | 294 | public String getType() { |
147 | 294 | return type; |
148 | } | |
149 | ||
150 | 420 | public void setType(String type) { |
151 | 420 | this.type = type; |
152 | } | |
153 | ||
154 | /** | |
155 | * The current status of the CLU Result. The values for this field are constrained to those in the cluResultState enumeration. A separate setup operation does not exist for retrieval of the meta data around this value. | |
156 | */ | |
157 | 117 | public String getState() { |
158 | 117 | return state; |
159 | } | |
160 | ||
161 | 331 | public void setState(String state) { |
162 | 331 | this.state = state; |
163 | } | |
164 | ||
165 | /** | |
166 | * Unique identifier for a CLU result. This is optional, due to the identifier being set at the time of creation. Once the result set has been created, this should be seen as required. | |
167 | */ | |
168 | 39 | public String getId() { |
169 | 39 | return id; |
170 | } | |
171 | ||
172 | 241 | public void setId(String id) { |
173 | 241 | this.id = id; |
174 | } | |
175 | ||
176 | 0 | @Override |
177 | public String toString() { | |
178 | 0 | return "CluResultInfo[id=" + id + ", cluId=" + cluId + ", type=" + type + "]"; |
179 | } | |
180 | } |
|