Coverage Report - org.kuali.student.lum.lu.dto.CluFeeInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
CluFeeInfo
0%
0/20
0%
0/4
1.2
 
 1  
 /**
 2  
  * Copyright 2010 The Kuali Foundation 
 3  
  *
 4  
  * Licensed under the Licensed under the Educational Community
 5  
  * License, Version 1.0 (the "License"); you may not use this file
 6  
  * except in compliance with the License.  You may obtain a copy of
 7  
  * the License at
 8  
  *
 9  
  * http://www.opensource.org/licenses/ecl1.php
 10  
  *
 11  
  * Unless required by applicable law or agreed to in writing, software
 12  
  * distributed under the License is distributed on an "AS IS" BASIS,
 13  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
 14  
  * implied.  See the License for the specific language governing
 15  
  * permissions and limitations under the License.
 16  
  */
 17  
 
 18  
 package org.kuali.student.lum.lu.dto;
 19  
 
 20  
 import org.kuali.student.core.dto.HasAttributes;
 21  
 import org.kuali.student.core.dto.MetaInfo;
 22  
 import org.kuali.student.core.dto.RichTextInfo;
 23  
 import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter;
 24  
 
 25  
 import javax.xml.bind.annotation.XmlAccessType;
 26  
 import javax.xml.bind.annotation.XmlAccessorType;
 27  
 import javax.xml.bind.annotation.XmlAttribute;
 28  
 import javax.xml.bind.annotation.XmlElement;
 29  
 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
 30  
 import java.io.Serializable;
 31  
 import java.util.ArrayList;
 32  
 import java.util.HashMap;
 33  
 import java.util.List;
 34  
 import java.util.Map;
 35  
 
 36  
 
 37  
 /**
 38  
  * Detailed information associated with this CLU related to the
 39  
  * calculation of fees.
 40  
  */
 41  
 
 42  
 @XmlAccessorType(XmlAccessType.FIELD)
 43  0
 public class CluFeeInfo implements Serializable, HasAttributes {
 44  
 
 45  
     private static final long serialVersionUID = 1L;
 46  
 
 47  
     @XmlAttribute
 48  
     private String id;
 49  
 
 50  
     @XmlElement
 51  
     private RichTextInfo descr;
 52  
 
 53  
     @XmlElement
 54  
     private List<CluFeeRecordInfo> cluFeeRecords;
 55  
 
 56  
     @XmlElement
 57  
     @XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class)
 58  
     private Map<String, String> attributes;
 59  
 
 60  
     @XmlElement
 61  
     private MetaInfo metaInfo;
 62  
 
 63  
 
 64  
     /**
 65  
      * List of key/value pairs, typically used for dynamic attributes.
 66  
      */
 67  
 
 68  
     public Map<String, String> getAttributes() {
 69  0
         if (attributes == null) {
 70  0
             attributes = new HashMap<String, String>();
 71  
         }
 72  
 
 73  0
         return attributes;
 74  
     }
 75  
 
 76  
 
 77  
     public void setAttributes(Map<String, String> attributes) {
 78  0
         this.attributes = attributes;
 79  0
     }
 80  
 
 81  
     public List<CluFeeRecordInfo> getCluFeeRecords() {
 82  0
         if (cluFeeRecords == null) {
 83  0
             cluFeeRecords = new ArrayList<CluFeeRecordInfo>(0);
 84  
         }
 85  0
         return cluFeeRecords;
 86  
     }
 87  
 
 88  
     public void setCluFeeRecords(List<CluFeeRecordInfo> cluFeeRecords) {
 89  0
         this.cluFeeRecords = cluFeeRecords;
 90  0
     }
 91  
 
 92  
     public String getId() {
 93  0
         return id;
 94  
     }
 95  
 
 96  
     public void setId(String id) {
 97  0
         this.id = id;
 98  0
     }
 99  
 
 100  
 
 101  
     /**
 102  
      * Narrative description of the CLU Fee
 103  
      */
 104  
 
 105  
     public RichTextInfo getDescr() {
 106  0
         return descr;
 107  
     }
 108  
 
 109  
     public void setDescr(RichTextInfo descr) {
 110  0
         this.descr = descr;
 111  0
     }
 112  
 
 113  
     public MetaInfo getMetaInfo() {
 114  0
         return metaInfo;
 115  
     }
 116  
 
 117  
     public void setMetaInfo(MetaInfo metaInfo) {
 118  0
         this.metaInfo = metaInfo;
 119  0
     }
 120  
 }