Coverage Report - org.kuali.student.lum.lu.dto.CluInstructorInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
CluInstructorInfo
0%
0/15
0%
0/2
1.125
 
 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  0
 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  
     public String getOrgId() {
 55  0
         return orgId;
 56  
     }
 57  
 
 58  
     public void setOrgId(String orgId) {
 59  0
         this.orgId = orgId;
 60  0
     }
 61  
 
 62  
     /**
 63  
      * Unique identifier for a person record.
 64  
      */
 65  
     public String getPersonId() {
 66  0
         return personId;
 67  
     }
 68  
 
 69  
     public void setPersonId(String personId) {
 70  0
         this.personId = personId;
 71  0
     }
 72  
 
 73  
     /**
 74  
      * List of key/value pairs, typically used for dynamic attributes.
 75  
      */
 76  
     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  
     public void setAttributes(Map<String,String> attributes) {
 84  0
         this.attributes = attributes;
 85  0
     }
 86  
 
 87  
     /**
 88  
      * @return the personInfoOverride
 89  
      */
 90  
     public String getPersonInfoOverride() {
 91  0
         return personInfoOverride;
 92  
     }
 93  
 
 94  
     /**
 95  
      * @param personInfoOverride the personInfoOverride to set
 96  
      */
 97  
     public void setPersonInfoOverride(String personInfoOverride) {
 98  0
         this.personInfoOverride = personInfoOverride;
 99  0
     }     
 100  
 }