Clover Coverage Report - KS LUM API 1.2-M1-SNAPSHOT
Coverage timestamp: Wed Dec 31 1969 19:00:00 EST
../../../../../../img/srcFileCovDistChart0.png 0% of files have more coverage
10   100   9   1.25
2   50   0.9   8
8     1.12  
1    
 
  CluInstructorInfo       Line # 34 10 0% 9 20 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.Map;
21   
22    import javax.xml.bind.annotation.XmlAccessType;
23    import javax.xml.bind.annotation.XmlAccessorType;
24    import javax.xml.bind.annotation.XmlElement;
25    import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
26   
27    import org.kuali.student.common.dto.HasAttributes;
28    import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter;
29   
30    /**
31    *Information about a potential instructor for a clu.
32    */
33    @XmlAccessorType(XmlAccessType.FIELD)
 
34    public class CluInstructorInfo implements Serializable, HasAttributes {
35   
36    private static final long serialVersionUID = 1L;
37   
38    @XmlElement
39    private String orgId;
40   
41    @XmlElement
42    private String personId;
43   
44    @XmlElement
45    private String personInfoOverride;
46   
47    @XmlElement
48    @XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class)
49    private Map<String,String> attributes;
50   
51    /**
52    * Unique identifier for an organization. This indicates which organization this individual is associated with for the purposes of this clu.
53    */
 
54  0 toggle public String getOrgId() {
55  0 return orgId;
56    }
57   
 
58  0 toggle public void setOrgId(String orgId) {
59  0 this.orgId = orgId;
60    }
61   
62    /**
63    * Unique identifier for a person record.
64    */
 
65  0 toggle public String getPersonId() {
66  0 return personId;
67    }
68   
 
69  0 toggle public void setPersonId(String personId) {
70  0 this.personId = personId;
71    }
72   
73    /**
74    * List of key/value pairs, typically used for dynamic attributes.
75    */
 
76  0 toggle public Map<String,String> getAttributes() {
77  0 if (attributes == null) {
78  0 attributes = new HashMap<String,String>();
79    }
80  0 return attributes;
81    }
82   
 
83  0 toggle public void setAttributes(Map<String,String> attributes) {
84  0 this.attributes = attributes;
85    }
86   
87    /**
88    * @return the personInfoOverride
89    */
 
90  0 toggle public String getPersonInfoOverride() {
91  0 return personInfoOverride;
92    }
93   
94    /**
95    * @param personInfoOverride the personInfoOverride to set
96    */
 
97  0 toggle public void setPersonInfoOverride(String personInfoOverride) {
98  0 this.personInfoOverride = personInfoOverride;
99    }
100    }