|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CluFeeInfo | Line # 39 | 14 | 0% | 12 | 0 | 100% |
1.0
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
(36) | |||
Result | |||
0.9285714
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testUpdateCourse
![]() |
1 PASS | |
0.9285714
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersionOnDate
![]() |
1 PASS | |
0.9285714
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testVersioning
![]() |
1 PASS | |
0.9285714
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetFirstVersion
![]() |
1 PASS | |
0.9285714
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersion
![]() |
1 PASS | |
0.9285714
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionBySequenceNumber
![]() |
1 PASS | |
0.9285714
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersions
![]() |
1 PASS | |
0.9285714
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionsInDateRange
![]() |
1 PASS | |
0.9285714
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluCrud
![]() |
1 PASS | |
0.9285714
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseVersioning
![]() |
1 PASS | |
0.8214286
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourse
![]() |
1 PASS | |
0.8214286
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDeleteCourse
![]() |
1 PASS | |
0.8214286
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDynamicAttributes
![]() |
1 PASS | |
0.8214286
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourse
![]() |
1 PASS | |
0.8214286
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreditOptions
![]() |
1 PASS | |
0.8214286
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseCrossListing
![]() |
1 PASS | |
0.71428573
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluValidation
![]() |
1 PASS | |
0.35714287
|
org.kuali.student.lum.statement.service.impl.TestStatementServiceImplForCourse.testGetNaturalLanguageForReqComponentType_kuali_reqComponent_type_course_notcompleted
![]() |
1 PASS | |
0.35714287
|
org.kuali.student.lum.statement.service.impl.TestStatementServiceImplForCourse.testGetNaturalLanguageForReqComponentType_kuali_reqComponent_type_course_program_notadmitted_org_duration_ProgramAsClu
![]() |
1 PASS | |
0.35714287
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourseStatement
![]() |
1 PASS | |
0.35714287
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourseStatement_duplicateTree
![]() |
1 PASS | |
0.35714287
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetProgramRequirement
![]() |
1 PASS | |
0.35714287
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluCluRelationCrud
![]() |
1 PASS | |
0.35714287
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testUpdateCourseStatement
![]() |
1 PASS | |
0.35714287
|
org.kuali.student.lum.statement.service.impl.TestStatementServiceImplForCourse.testGetNaturalLanguageForReqComponentType_kuali_reqComponent_type_course_completed
![]() |
1 PASS | |
0.35714287
|
org.kuali.student.lum.statement.service.impl.TestStatementServiceImplForCourse.testGetNaturalLanguageForReqComponentType_kuali_reqComponent_type_course_program_admitted_org_duration_ProgramAsClu
![]() |
1 PASS | |
0.35714287
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourseStatement
![]() |
1 PASS | |
0.35714287
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDeleteCourseStatement
![]() |
1 PASS | |
0.35714287
|
org.kuali.student.lum.statement.service.impl.TestStatementServiceImplForCourse.testGetNaturalLanguageForReqComponentType_kuali_reqComponent_type_course_enrolled
![]() |
1 PASS | |
0.35714287
|
org.kuali.student.lum.statement.service.impl.TestStatementServiceImplForProgram.testTranslateReqComponent_kuali_reqComponent_type_program_residence_credits_final
![]() |
1 PASS | |
0.35714287
|
org.kuali.student.lum.statement.service.impl.TestStatementServiceImplForCourse.testGetNaturalLanguageForReqComponentType_kuali_reqComponent_type_course_program_admitted_ProgramAsClu
![]() |
1 PASS | |
0.35714287
|
org.kuali.student.lum.statement.service.impl.TestStatementServiceImplForCourse.testGetNaturalLanguageForReqComponentType_kuali_reqComponent_type_course_program_notadmitted_ProgramAsClu
![]() |
1 PASS | |
0.35714287
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testClu
![]() |
1 PASS | |
0.35714287
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluSet
![]() |
1 PASS | |
0.35714287
|
org.kuali.student.lum.statement.service.impl.TestStatementServiceImplForProgram.testTranslateReqComponent_kuali_reqComponent_type_program_enrolled_credits_final
![]() |
1 PASS | |
0.35714287
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testGetClusByRelation
![]() |
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.HashMap; | |
21 | import java.util.List; | |
22 | import java.util.Map; | |
23 | ||
24 | import javax.xml.bind.annotation.XmlAccessType; | |
25 | import javax.xml.bind.annotation.XmlAccessorType; | |
26 | import javax.xml.bind.annotation.XmlAttribute; | |
27 | import javax.xml.bind.annotation.XmlElement; | |
28 | import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; | |
29 | ||
30 | import org.kuali.student.core.dto.HasAttributes; | |
31 | import org.kuali.student.core.dto.MetaInfo; | |
32 | import org.kuali.student.core.dto.RichTextInfo; | |
33 | import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; | |
34 | ||
35 | /** | |
36 | *Detailed information associated with this CLU related to the calculation of fees. | |
37 | */ | |
38 | @XmlAccessorType(XmlAccessType.FIELD) | |
39 | public class CluFeeInfo implements Serializable, HasAttributes { | |
40 | ||
41 | private static final long serialVersionUID = 1L; | |
42 | ||
43 | @XmlAttribute | |
44 | private String id; | |
45 | ||
46 | @XmlElement | |
47 | private RichTextInfo descr; | |
48 | ||
49 | @XmlElement | |
50 | private List<CluFeeRecordInfo> cluFeeRecords; | |
51 | ||
52 | @XmlElement | |
53 | @XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) | |
54 | private Map<String,String> attributes; | |
55 | ||
56 | @XmlElement | |
57 | private MetaInfo metaInfo; | |
58 | ||
59 | /** | |
60 | * List of key/value pairs, typically used for dynamic attributes. | |
61 | */ | |
62 | 57 |
![]() |
63 | 57 | if (attributes == null) { |
64 | 17 | attributes = new HashMap<String,String>(); |
65 | } | |
66 | 57 | return attributes; |
67 | } | |
68 | ||
69 | 115 |
![]() |
70 | 115 | this.attributes = attributes; |
71 | } | |
72 | ||
73 | 236 |
![]() |
74 | 236 | if(cluFeeRecords == null){ |
75 | 15 | cluFeeRecords = new ArrayList<CluFeeRecordInfo>(0); |
76 | } | |
77 | 236 | return cluFeeRecords; |
78 | } | |
79 | ||
80 | 118 |
![]() |
81 | 118 | this.cluFeeRecords = cluFeeRecords; |
82 | } | |
83 | ||
84 | 7 |
![]() |
85 | 7 | return id; |
86 | } | |
87 | ||
88 | 125 |
![]() |
89 | 125 | this.id = id; |
90 | } | |
91 | ||
92 | /** | |
93 | * Narrative description of the CLU Fee | |
94 | */ | |
95 | 161 |
![]() |
96 | 161 | return descr; |
97 | } | |
98 | ||
99 | 143 |
![]() |
100 | 143 | this.descr = descr; |
101 | } | |
102 | ||
103 | 17 |
![]() |
104 | 17 | return metaInfo; |
105 | } | |
106 | ||
107 | 115 |
![]() |
108 | 115 | this.metaInfo = metaInfo; |
109 | } | |
110 | } |
|