Clover Coverage Report - KS LUM API 1.2-SNAPSHOT
Coverage timestamp: Wed Dec 31 1969 19:00:00 EST
../../../../../../img/srcFileCovDistChart0.png 0% of files have more coverage
8   79   7   1.33
2   44   0.88   6
6     1.17  
1    
 
  CluAccountingInfo       Line # 36 8 0% 7 16 0% 0.0
 
No Tests
 
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.common.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    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  0 toggle 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  0 toggle public void setAttributes(Map<String,String> attributes) {
61  0 this.attributes = attributes;
62    }
63   
 
64  0 toggle public List<AffiliatedOrgInfo> getAffiliatedOrgs() {
65  0 return affiliatedOrgs;
66    }
67   
 
68  0 toggle public void setAffiliatedOrgs(List<AffiliatedOrgInfo> affiliatedOrgs) {
69  0 this.affiliatedOrgs = affiliatedOrgs;
70    }
71   
 
72  0 toggle public String getId() {
73  0 return id;
74    }
75   
 
76  0 toggle public void setId(String id) {
77  0 this.id = id;
78    }
79    }