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 
 3  
  *
 4  
  * Licensed under the the Educational Community License, Version 1.0
 5  
  * (the "License"); you may not use this file except in compliance
 6  
  * with the License.  You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.opensource.org/licenses/ecl1.php
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 
 17  
 package org.kuali.student.lum.lu.dto;
 18  
 
 19  
 import org.kuali.student.core.dto.HasAttributes;
 20  
 import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter;
 21  
 
 22  
 import javax.xml.bind.annotation.XmlAccessType;
 23  
 import javax.xml.bind.annotation.XmlAccessorType;
 24  
 import javax.xml.bind.annotation.XmlAttribute;
 25  
 import javax.xml.bind.annotation.XmlElement;
 26  
 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
 27  
 import java.io.Serializable;
 28  
 import java.util.HashMap;
 29  
 import java.util.List;
 30  
 import java.util.Map;
 31  
 
 32  
 
 33  
 /**
 34  
  * Detailed information about accounting for a clu.
 35  
  */
 36  
 
 37  
 @XmlAccessorType(XmlAccessType.FIELD)
 38  0
 public class CluAccountingInfo implements Serializable, HasAttributes {
 39  
 
 40  
     private static final long serialVersionUID = 1L;
 41  
 
 42  
     @XmlElement
 43  
     private List<AffiliatedOrgInfo> affiliatedOrgs;
 44  
 
 45  
     @XmlElement
 46  
     @XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class)
 47  
     private Map<String, String> attributes;
 48  
 
 49  
     @XmlAttribute
 50  
     private String id;
 51  
 
 52  
 
 53  
     /**
 54  
      * List of key/value pairs, typically used for dynamic attributes.
 55  
      */
 56  
 
 57  
     public Map<String, String> getAttributes() {
 58  
 
 59  0
         if (attributes == null) {
 60  0
             attributes = new HashMap<String, String>();
 61  
         }
 62  
 
 63  0
         return attributes;
 64  
     }
 65  
 
 66  
     public void setAttributes(Map<String, String> attributes) {
 67  0
         this.attributes = attributes;
 68  0
     }
 69  
 
 70  
     public List<AffiliatedOrgInfo> getAffiliatedOrgs() {
 71  0
         return affiliatedOrgs;
 72  
     }
 73  
 
 74  
     public void setAffiliatedOrgs(List<AffiliatedOrgInfo> affiliatedOrgs) {
 75  0
         this.affiliatedOrgs = affiliatedOrgs;
 76  0
     }
 77  
 
 78  
     public String getId() {
 79  0
         return id;
 80  
     }
 81  
 
 82  
     public void setId(String id) {
 83  0
         this.id = id;
 84  0
     }
 85  
 }