|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ResultOptionInfo | Line # 40 | 16 | 0% | 16 | 2 | 93.8% |
0.9375
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
(27) | |||
Result | |||
0.9375
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testUpdateCluResult org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testUpdateCluResult | 1 PASS | |
0.875
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testUpdateCourse org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testUpdateCourse | 1 PASS | |
0.875
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDisciplineRemoveRule org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDisciplineRemoveRule | 1 PASS | |
0.875
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateVariationsByMajorDiscipline org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateVariationsByMajorDiscipline | 1 PASS | |
0.875
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateVariationsByMajorDiscipline org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateVariationsByMajorDiscipline | 1 PASS | |
0.875
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDiscipline org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testUpdateMajorDiscipline | 1 PASS | |
0.875
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteVariationsByMajorDiscipline org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testDeleteVariationsByMajorDiscipline | 1 PASS | |
0.8125
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersionOnDate org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersionOnDate | 1 PASS | |
0.8125
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testUpdateCluResult_RemoveAllCluResultOptions org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testUpdateCluResult_RemoveAllCluResultOptions | 1 PASS | |
0.8125
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateBaccCredentialProgram org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateBaccCredentialProgram | 1 PASS | |
0.8125
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourse org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourse | 1 PASS | |
0.8125
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDeleteCourse org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDeleteCourse | 1 PASS | |
0.8125
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testMajorDisciplineVersioning org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testMajorDisciplineVersioning | 1 PASS | |
0.8125
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDynamicAttributes org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDynamicAttributes | 1 PASS | |
0.8125
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetFirstVersion org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetFirstVersion | 1 PASS | |
0.8125
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourse org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourse | 1 PASS | |
0.8125
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreditOptions org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreditOptions | 1 PASS | |
0.8125
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersion org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersion | 1 PASS | |
0.8125
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionBySequenceNumber org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionBySequenceNumber | 1 PASS | |
0.8125
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersions org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersions | 1 PASS | |
0.8125
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDisciplineDeleteRule org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDisciplineDeleteRule | 1 PASS | |
0.8125
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseCrossListing org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseCrossListing | 1 PASS | |
0.8125
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDiscipline org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testCreateMajorDiscipline | 1 PASS | |
0.8125
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionsInDateRange org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionsInDateRange | 1 PASS | |
0.8125
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseVersioning org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseVersioning | 1 PASS | |
0.5
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetMajorDiscipline org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetMajorDiscipline | 1 PASS | |
0.5
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetVariationsByMajorDisciplineId org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetVariationsByMajorDisciplineId | 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.Date; | |
20 | ||
21 | import javax.xml.bind.annotation.XmlAccessType; | |
22 | import javax.xml.bind.annotation.XmlAccessorType; | |
23 | import javax.xml.bind.annotation.XmlAttribute; | |
24 | import javax.xml.bind.annotation.XmlElement; | |
25 | ||
26 | import org.kuali.student.core.dto.Idable; | |
27 | import org.kuali.student.core.dto.MetaInfo; | |
28 | import org.kuali.student.core.dto.RichTextInfo; | |
29 | ||
30 | /** | |
31 | * Information about a result option. | |
32 | * | |
33 | * @Author KSContractMojo | |
34 | * @Author Kamal | |
35 | * @Since Mon Jan 11 15:21:31 PST 2010 | |
36 | * @See <a href="https://test.kuali.org/confluence/display/KULSTU/resultOptionInfo+Structure+v1.0-rc3">ResultOptionInfo</> | |
37 | * | |
38 | */ | |
39 | @XmlAccessorType(XmlAccessType.FIELD) | |
40 | public class ResultOptionInfo implements Serializable, Idable { | |
41 | ||
42 | private static final long serialVersionUID = 1L; | |
43 | ||
44 | @XmlElement | |
45 | private RichTextInfo desc; | |
46 | ||
47 | @XmlElement | |
48 | private String resultUsageTypeKey; | |
49 | ||
50 | @XmlElement | |
51 | private String resultComponentId; | |
52 | ||
53 | @XmlElement | |
54 | private Date effectiveDate; | |
55 | ||
56 | @XmlElement | |
57 | private Date expirationDate; | |
58 | ||
59 | @XmlElement | |
60 | private MetaInfo metaInfo; | |
61 | ||
62 | @XmlAttribute | |
63 | private String state; | |
64 | ||
65 | @XmlAttribute | |
66 | private String id; | |
67 | ||
68 | /** | |
69 | * Narrative description of the result option. | |
70 | */ | |
71 | 154 | public RichTextInfo getDesc() { |
72 | 154 | return desc; |
73 | } | |
74 | ||
75 | 405 | public void setDesc(RichTextInfo desc) { |
76 | 405 | this.desc = desc; |
77 | } | |
78 | ||
79 | /** | |
80 | * Unique identifier for a result usage type. | |
81 | */ | |
82 | 156 | public String getResultUsageTypeKey() { |
83 | 156 | return resultUsageTypeKey; |
84 | } | |
85 | ||
86 | 4 | public void setResultUsageTypeKey(String resultUsageTypeKey) { |
87 | 4 | this.resultUsageTypeKey = resultUsageTypeKey; |
88 | } | |
89 | ||
90 | /** | |
91 | * Unique identifier for a result component. | |
92 | */ | |
93 | 321 | public String getResultComponentId() { |
94 | 321 | return resultComponentId; |
95 | } | |
96 | ||
97 | 451 | public void setResultComponentId(String resultComponentId) { |
98 | 451 | this.resultComponentId = resultComponentId; |
99 | } | |
100 | ||
101 | /** | |
102 | * Date and time that this result option 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. | |
103 | */ | |
104 | 154 | public Date getEffectiveDate() { |
105 | 154 | return effectiveDate; |
106 | } | |
107 | ||
108 | 327 | public void setEffectiveDate(Date effectiveDate) { |
109 | 327 | this.effectiveDate = effectiveDate; |
110 | } | |
111 | ||
112 | /** | |
113 | * Date and time that this result option 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. | |
114 | */ | |
115 | 154 | public Date getExpirationDate() { |
116 | 154 | return expirationDate; |
117 | } | |
118 | ||
119 | 327 | public void setExpirationDate(Date expirationDate) { |
120 | 327 | this.expirationDate = expirationDate; |
121 | } | |
122 | ||
123 | /** | |
124 | * 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. | |
125 | */ | |
126 | 0 | public MetaInfo getMetaInfo() { |
127 | 0 | return metaInfo; |
128 | } | |
129 | ||
130 | 324 | public void setMetaInfo(MetaInfo metaInfo) { |
131 | 324 | this.metaInfo = metaInfo; |
132 | } | |
133 | ||
134 | /** | |
135 | * The current status of the result option. The values for this field are constrained to those in the resultOptionState enumeration. A separate setup operation does not exist for retrieval of the meta data around this value. | |
136 | */ | |
137 | 154 | public String getState() { |
138 | 154 | return state; |
139 | } | |
140 | ||
141 | 451 | public void setState(String state) { |
142 | 451 | this.state = state; |
143 | } | |
144 | ||
145 | /** | |
146 | * Unique identifier for a result option. This is optional, due to the identifier being set at the time of creation. Once the result option has been created, this should be seen as required. | |
147 | */ | |
148 | 56 | public String getId() { |
149 | 56 | return id; |
150 | } | |
151 | ||
152 | 324 | public void setId(String id) { |
153 | 324 | this.id = id; |
154 | } | |
155 | } |
|