| 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CluFeeRecordInfo | Line # 47 | 22 | 0% | 19 | 0 | 100% | 1.0 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| (27) | |||
| Result | |||
| 0.95454544 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourse  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourse | 1 PASS | |
| 0.95454544 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetFirstVersion  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetFirstVersion | 1 PASS | |
| 0.95454544 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseVersioning  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseVersioning | 1 PASS | |
| 0.95454544 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionBySequenceNumber  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionBySequenceNumber | 1 PASS | |
| 0.95454544 | org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluCrud  org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluCrud | 1 PASS | |
| 0.95454544 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseCrossListing  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCourseCrossListing | 1 PASS | |
| 0.95454544 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersions  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersions | 1 PASS | |
| 0.95454544 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testUpdateCourse  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testUpdateCourse | 1 PASS | |
| 0.95454544 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDeleteCourse  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDeleteCourse | 1 PASS | |
| 0.95454544 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersionOnDate  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersionOnDate | 1 PASS | |
| 0.95454544 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreditOptions  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreditOptions | 1 PASS | |
| 0.95454544 | org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testVersioning  org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testVersioning | 1 PASS | |
| 0.95454544 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDynamicAttributes  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDynamicAttributes | 1 PASS | |
| 0.95454544 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionsInDateRange  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetVersionsInDateRange | 1 PASS | |
| 0.95454544 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersion  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCurrentVersion | 1 PASS | |
| 0.95454544 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourse  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourse | 1 PASS | |
| 0.79545456 | org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluValidation  org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluValidation | 1 PASS | |
| 0.36363637 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourseStatement  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testGetCourseStatement | 1 PASS | |
| 0.36363637 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testUpdateCourseStatement  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testUpdateCourseStatement | 1 PASS | |
| 0.36363637 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourseStatement_duplicateTree  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourseStatement_duplicateTree | 1 PASS | |
| 0.36363637 | org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluCluRelationCrud  org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testCluCluRelationCrud | 1 PASS | |
| 0.36363637 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourseStatement  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testCreateCourseStatement | 1 PASS | |
| 0.36363637 | org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetProgramRequirement  org.kuali.student.lum.program.service.impl.TestProgramServiceImpl.testGetProgramRequirement | 1 PASS | |
| 0.36363637 | org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testClu  org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testClu | 1 PASS | |
| 0.36363637 | org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testGetClusByRelation  org.kuali.student.lum.lu.service.impl.TestLuServiceImpl.testGetClusByRelation | 1 PASS | |
| 0.36363637 | org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDeleteCourseStatement  org.kuali.student.lum.course.service.impl.TestCourseServiceImpl.testDeleteCourseStatement | 1 PASS | |
| 0.36363637 | 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.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.common.dto.CurrencyAmountInfo; | |
| 31 | import org.kuali.student.common.dto.HasAttributes; | |
| 32 | import org.kuali.student.common.dto.Idable; | |
| 33 | import org.kuali.student.common.dto.MetaInfo; | |
| 34 | import org.kuali.student.common.dto.RichTextInfo; | |
| 35 | import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; | |
| 36 | ||
| 37 | /** | |
| 38 | * Information about a fee related to a clu. | |
| 39 | * | |
| 40 | * @Author KSContractMojo | |
| 41 | * @Author Kamal | |
| 42 | * @Since Mon Jan 11 15:20:48 PST 2010 | |
| 43 | * @See <a href="https://test.kuali.org/confluence/display/KULSTU/cluFeeRecordInfo+Structure+v1.0-rc2">CluFeeRecordInfo</> | |
| 44 | * | |
| 45 | */ | |
| 46 | @XmlAccessorType(XmlAccessType.FIELD) | |
| 47 | public class CluFeeRecordInfo implements Serializable, Idable, HasAttributes { | |
| 48 | ||
| 49 | private static final long serialVersionUID = 1L; | |
| 50 | ||
| 51 | @XmlElement | |
| 52 | private String feeType; | |
| 53 | ||
| 54 | @XmlElement | |
| 55 | private String rateType; | |
| 56 | ||
| 57 | @XmlElement | |
| 58 | private List<CurrencyAmountInfo> feeAmounts; | |
| 59 | ||
| 60 | @XmlElement | |
| 61 | private List<AffiliatedOrgInfo> affiliatedOrgs; | |
| 62 | ||
| 63 | @XmlElement | |
| 64 | private RichTextInfo descr; | |
| 65 | ||
| 66 | @XmlElement | |
| 67 | @XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) | |
| 68 | private Map<String, String> attributes; | |
| 69 | ||
| 70 | @XmlElement | |
| 71 | private MetaInfo metaInfo; | |
| 72 | ||
| 73 | @XmlAttribute | |
| 74 | private String id; | |
| 75 | ||
| 76 | /** | |
| 77 | * A code that identifies the type of the fee. For example: Lab Fee or Tuition Fee or CMF for Course Materials Fee. | |
| 78 | */ | |
| 79 | 327 |  public String getFeeType() { | 
| 80 | 327 | return feeType; | 
| 81 | } | |
| 82 | ||
| 83 | 449 |  public void setFeeType(String feeType) { | 
| 84 | 449 | this.feeType = feeType; | 
| 85 | } | |
| 86 | ||
| 87 | /** | |
| 88 | * Indicates the structure and interpretation of the fee amounts, i.e. Fixed, Variable, Multiple. | |
| 89 | */ | |
| 90 | 236 |  public String getRateType() { | 
| 91 | 236 | return rateType; | 
| 92 | } | |
| 93 | ||
| 94 | 448 |  public void setRateType(String rateType) { | 
| 95 | 448 | this.rateType = rateType; | 
| 96 | } | |
| 97 | ||
| 98 | /** | |
| 99 | * The amount or amounts associated with the fee. The number fee amounts and interpretation depends on the rate type. | |
| 100 | */ | |
| 101 | 274 |  public List<CurrencyAmountInfo> getFeeAmounts() { | 
| 102 | 274 | if(feeAmounts==null){ | 
| 103 | 52 | feeAmounts = new ArrayList<CurrencyAmountInfo>(); | 
| 104 | } | |
| 105 | 274 | return feeAmounts; | 
| 106 | } | |
| 107 | ||
| 108 | 742 |  public void setFeeAmounts(List<CurrencyAmountInfo> feeAmounts) { | 
| 109 | 742 | this.feeAmounts = feeAmounts; | 
| 110 | } | |
| 111 | ||
| 112 | /** | |
| 113 | * List of affiliated organizations. | |
| 114 | */ | |
| 115 | 278 |  public List<AffiliatedOrgInfo> getAffiliatedOrgs() { | 
| 116 | 278 | if (affiliatedOrgs == null) { | 
| 117 | 45 | affiliatedOrgs = new ArrayList<AffiliatedOrgInfo>(0); | 
| 118 | } | |
| 119 | 278 | return affiliatedOrgs; | 
| 120 | } | |
| 121 | ||
| 122 | 400 |  public void setAffiliatedOrgs(List<AffiliatedOrgInfo> affiliatedOrgs) { | 
| 123 | 400 | this.affiliatedOrgs = affiliatedOrgs; | 
| 124 | } | |
| 125 | ||
| 126 | /** | |
| 127 | * Narrative description of the CLU Fee Record. | |
| 128 | */ | |
| 129 | 236 |  public RichTextInfo getDescr() { | 
| 130 | 236 | return descr; | 
| 131 | } | |
| 132 | ||
| 133 | 395 |  public void setDescr(RichTextInfo descr) { | 
| 134 | 395 | this.descr = descr; | 
| 135 | } | |
| 136 | ||
| 137 | /** | |
| 138 | * List of key/value pairs, typically used for dynamic attributes. | |
| 139 | */ | |
| 140 | 325 |  public Map<String, String> getAttributes() { | 
| 141 | 325 | if (attributes == null) { | 
| 142 | 6 | attributes = new HashMap<String, String>(); | 
| 143 | } | |
| 144 | 325 | return attributes; | 
| 145 | } | |
| 146 | ||
| 147 | 442 |  public void setAttributes(Map<String, String> attributes) { | 
| 148 | 442 | this.attributes = attributes; | 
| 149 | } | |
| 150 | ||
| 151 | ||
| 152 | /** | |
| 153 | * Create and last update info for the structure. This is optional and treated as read only since the | |
| 154 | * data is set by the internals of the service during maintenance operations. | |
| 155 | */ | |
| 156 | 192 |  public MetaInfo getMetaInfo() { | 
| 157 | 192 | return metaInfo; | 
| 158 | } | |
| 159 | ||
| 160 | 442 |  public void setMetaInfo(MetaInfo metaInfo) { | 
| 161 | 442 | this.metaInfo = metaInfo; | 
| 162 | } | |
| 163 | ||
| 164 | /** | |
| 165 | * Identifier for the clu fee record. | |
| 166 | */ | |
| 167 | 229 |  public String getId() { | 
| 168 | 229 | return id; | 
| 169 | } | |
| 170 | ||
| 171 | 478 |  public void setId(String id) { | 
| 172 | 478 | this.id = id; | 
| 173 | } | |
| 174 | } | |
| 
 | ||||||||||||