Clover Coverage Report - Kuali Student 1.2-M6-SNAPSHOT (Aggregated)
Coverage timestamp: Mon Sep 12 2011 05:03:53 EDT
../../../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
14   110   12   1.4
4   66   0.86   10
10     1.2  
1    
 
  CluFeeInfo       Line # 39 14 0% 12 0 100% 1.0
 
  (36)
 
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.HasAttributes;
31    import org.kuali.student.common.dto.MetaInfo;
32    import org.kuali.student.common.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 toggle public Map<String,String> getAttributes() {
63  57 if (attributes == null) {
64  17 attributes = new HashMap<String,String>();
65    }
66  57 return attributes;
67    }
68   
 
69  115 toggle public void setAttributes(Map<String,String> attributes) {
70  115 this.attributes = attributes;
71    }
72   
 
73  236 toggle public List<CluFeeRecordInfo> getCluFeeRecords() {
74  236 if(cluFeeRecords == null){
75  15 cluFeeRecords = new ArrayList<CluFeeRecordInfo>(0);
76    }
77  236 return cluFeeRecords;
78    }
79   
 
80  118 toggle public void setCluFeeRecords(List<CluFeeRecordInfo> cluFeeRecords) {
81  118 this.cluFeeRecords = cluFeeRecords;
82    }
83   
 
84  7 toggle public String getId() {
85  7 return id;
86    }
87   
 
88  125 toggle public void setId(String id) {
89  125 this.id = id;
90    }
91   
92    /**
93    * Narrative description of the CLU Fee
94    */
 
95  161 toggle public RichTextInfo getDescr() {
96  161 return descr;
97    }
98   
 
99  143 toggle public void setDescr(RichTextInfo descr) {
100  143 this.descr = descr;
101    }
102   
 
103  17 toggle public MetaInfo getMetaInfo() {
104  17 return metaInfo;
105    }
106   
 
107  115 toggle public void setMetaInfo(MetaInfo metaInfo) {
108  115 this.metaInfo = metaInfo;
109    }
110    }