Clover Coverage Report - KS Services 0.0.1-SNAPSHOT (Aggregated)
Coverage timestamp: Mon May 23 2011 04:06:57 EDT
../../../../../../img/srcFileCovDistChart0.png 0% of files have more coverage
8   85   7   1.33
2   44   0.88   6
6     1.17  
1    
 
  CluAccountingInfo       Line # 38 8 0% 7 16 0% 0.0
 
No Tests
 
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    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  0 toggle 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  0 toggle public void setAttributes(Map<String, String> attributes) {
67  0 this.attributes = attributes;
68    }
69   
 
70  0 toggle public List<AffiliatedOrgInfo> getAffiliatedOrgs() {
71  0 return affiliatedOrgs;
72    }
73   
 
74  0 toggle public void setAffiliatedOrgs(List<AffiliatedOrgInfo> affiliatedOrgs) {
75  0 this.affiliatedOrgs = affiliatedOrgs;
76    }
77   
 
78  0 toggle public String getId() {
79  0 return id;
80    }
81   
 
82  0 toggle public void setId(String id) {
83  0 this.id = id;
84    }
85    }