Coverage Report - org.kuali.student.lum.lu.dto.CluAccountingInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
CluAccountingInfo
0%
0/12
0%
0/2
1.167
 
 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.HashMap;
 20  
 import java.util.List;
 21  
 import java.util.Map;
 22  
 
 23  
 import javax.xml.bind.annotation.XmlAccessType;
 24  
 import javax.xml.bind.annotation.XmlAccessorType;
 25  
 import javax.xml.bind.annotation.XmlAttribute;
 26  
 import javax.xml.bind.annotation.XmlElement;
 27  
 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
 28  
 
 29  
 import org.kuali.student.core.dto.HasAttributes;
 30  
 import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter;
 31  
 
 32  
 /**
 33  
  *Detailed information about accounting for a clu.
 34  
  */ 
 35  
 @XmlAccessorType(XmlAccessType.FIELD)
 36  0
 public class CluAccountingInfo implements Serializable, HasAttributes {
 37  
 
 38  
     private static final long serialVersionUID = 1L;
 39  
 
 40  
     @XmlElement
 41  
     private List<AffiliatedOrgInfo> affiliatedOrgs;    
 42  
     
 43  
     @XmlElement
 44  
         @XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class)
 45  
     private Map<String,String> attributes;
 46  
 
 47  
     @XmlAttribute
 48  
     private String id;
 49  
 
 50  
     /**
 51  
      * List of key/value pairs, typically used for dynamic attributes.
 52  
      */
 53  
     public Map<String,String> getAttributes() {
 54  0
         if (attributes == null) {
 55  0
             attributes = new HashMap<String,String>();
 56  
         }
 57  0
         return attributes;
 58  
     }
 59  
 
 60  
     public void setAttributes(Map<String,String> attributes) {
 61  0
         this.attributes = attributes;
 62  0
     }
 63  
 
 64  
         public List<AffiliatedOrgInfo> getAffiliatedOrgs() {
 65  0
                 return affiliatedOrgs;
 66  
         }
 67  
 
 68  
         public void setAffiliatedOrgs(List<AffiliatedOrgInfo> affiliatedOrgs) {
 69  0
                 this.affiliatedOrgs = affiliatedOrgs;
 70  0
         }
 71  
 
 72  
         public String getId() {
 73  0
                 return id;
 74  
         }
 75  
 
 76  
         public void setId(String id) {
 77  0
                 this.id = id;
 78  0
         }        
 79  
 }