|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CluFeeRecord | Line # 35 | 12 | 0% | 12 | 0 | 100% |
1.0
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
(26) | |||
Result | |||
1.0
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testUpdateCourse org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testUpdateCourse | 1 PASS | |
1.0
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersion org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersion | 1 PASS | |
1.0
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testVersioning org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testVersioning | 1 PASS | |
1.0
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseCrossListing org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseCrossListing | 1 PASS | |
1.0
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDeleteCourse org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDeleteCourse | 1 PASS | |
1.0
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluCrud org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluCrud | 1 PASS | |
1.0
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetFirstVersion org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetFirstVersion | 1 PASS | |
1.0
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDynamicAttributes org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDynamicAttributes | 1 PASS | |
1.0
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersions org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersions | 1 PASS | |
1.0
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersionOnDate org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersionOnDate | 1 PASS | |
1.0
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseVersioning org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseVersioning | 1 PASS | |
1.0
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreditOptions org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreditOptions | 1 PASS | |
1.0
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionsInDateRange org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionsInDateRange | 1 PASS | |
1.0
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionBySequenceNumber org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionBySequenceNumber | 1 PASS | |
1.0
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourse org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourse | 1 PASS | |
1.0
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourse org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourse | 1 PASS | |
0.5
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourseStatement_duplicateTree org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourseStatement_duplicateTree | 1 PASS | |
0.5
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testClu org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testClu | 1 PASS | |
0.5
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluCluRelationCrud org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluCluRelationCrud | 1 PASS | |
0.5
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourseStatement org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourseStatement | 1 PASS | |
0.5
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourseStatement org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourseStatement | 1 PASS | |
0.5
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testUpdateCourseStatement org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testUpdateCourseStatement | 1 PASS | |
0.5
|
org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDeleteCourseStatement org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDeleteCourseStatement | 1 PASS | |
0.5
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testGetClusByRelation org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testGetClusByRelation | 1 PASS | |
0.5
|
org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetProgramRequirement org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetProgramRequirement | 1 PASS | |
0.5
|
org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluSet org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluSet | 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.entity; | |
17 | ||
18 | import java.util.List; | |
19 | ||
20 | import javax.persistence.CascadeType; | |
21 | import javax.persistence.Column; | |
22 | import javax.persistence.Entity; | |
23 | import javax.persistence.JoinColumn; | |
24 | import javax.persistence.JoinTable; | |
25 | import javax.persistence.ManyToMany; | |
26 | import javax.persistence.OneToMany; | |
27 | import javax.persistence.OneToOne; | |
28 | import javax.persistence.Table; | |
29 | ||
30 | import org.kuali.student.common.entity.AttributeOwner; | |
31 | import org.kuali.student.common.entity.MetaEntity; | |
32 | ||
33 | @Entity | |
34 | @Table(name = "KSLU_CLU_FEE_REC") | |
35 | public class CluFeeRecord extends MetaEntity implements | |
36 | AttributeOwner<CluFeeRecordAttribute> { | |
37 | ||
38 | @Column(name = "FEE_TYPE") | |
39 | private String feeType; | |
40 | ||
41 | @Column(name = "RATE_TYPE") | |
42 | private String rateType; | |
43 | ||
44 | @OneToMany(cascade = CascadeType.ALL) | |
45 | @JoinColumn(name= "CLUE_FEE_REC_ID") | |
46 | private List<CluFeeAmount> feeAmounts; | |
47 | ||
48 | @OneToMany(cascade = CascadeType.ALL, mappedBy = "owner") | |
49 | private List<CluFeeRecordAttribute> attributes; | |
50 | ||
51 | @ManyToMany(cascade=CascadeType.ALL) | |
52 | @JoinTable(name = "KSLU_CLU_FEEREC_JN_AFFIL_ORG", joinColumns = @JoinColumn(name = "CLU_FEE_REC_ID"), inverseJoinColumns = @JoinColumn(name = "AFFIL_ORG_ID")) | |
53 | private List<AffiliatedOrg> affiliatedOrgs; | |
54 | ||
55 | @OneToOne(cascade=CascadeType.ALL) | |
56 | @JoinColumn(name = "RT_DESCR_ID") | |
57 | private LuRichText descr; | |
58 | ||
59 | 344 | public String getFeeType() { |
60 | 344 | return feeType; |
61 | } | |
62 | ||
63 | 133 | public void setFeeType(String feeType) { |
64 | 133 | this.feeType = feeType; |
65 | } | |
66 | ||
67 | 344 | public String getRateType() { |
68 | 344 | return rateType; |
69 | } | |
70 | ||
71 | 133 | public void setRateType(String rateType) { |
72 | 133 | this.rateType = rateType; |
73 | } | |
74 | ||
75 | 821 | public List<CluFeeAmount> getFeeAmounts() { |
76 | 821 | return feeAmounts; |
77 | } | |
78 | ||
79 | 133 | public void setFeeAmounts(List<CluFeeAmount> feeAmounts) { |
80 | 133 | this.feeAmounts = feeAmounts; |
81 | } | |
82 | ||
83 | 743 | public List<CluFeeRecordAttribute> getAttributes() { |
84 | 743 | return attributes; |
85 | } | |
86 | ||
87 | 230 | public void setAttributes(List<CluFeeRecordAttribute> attributes) { |
88 | 230 | this.attributes = attributes; |
89 | } | |
90 | ||
91 | 477 | public List<AffiliatedOrg> getAffiliatedOrgs() { |
92 | 477 | return affiliatedOrgs; |
93 | } | |
94 | ||
95 | 133 | public void setAffiliatedOrgs(List<AffiliatedOrg> affiliatedOrgs) { |
96 | 133 | this.affiliatedOrgs = affiliatedOrgs; |
97 | } | |
98 | ||
99 | 344 | public LuRichText getDescr() { |
100 | 344 | return descr; |
101 | } | |
102 | ||
103 | 133 | public void setDescr(LuRichText descr) { |
104 | 133 | this.descr = descr; |
105 | } | |
106 | ||
107 | ||
108 | } |
|