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 
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 2.0 (the
 5  
  * "License"); you may not use this file except in compliance with the
 6  
  * 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
 13  
  * implied. See the License for the specific language governing
 14  
  * permissions and 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.XmlElement;
 25  
 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
 26  
 import java.io.Serializable;
 27  
 import java.util.HashMap;
 28  
 import java.util.Map;
 29  
 
 30  
 /**
 31  
  * Information about a potential instructor for a clu.
 32  
  */
 33  
 
 34  
 @XmlAccessorType(XmlAccessType.FIELD)
 35  0
 public class CluInstructorInfo implements Serializable, HasAttributes {
 36  
 
 37  
     private static final long serialVersionUID = 1L;
 38  
 
 39  
     @XmlElement
 40  
     private String orgId;
 41  
 
 42  
     @XmlElement
 43  
     private String personId;
 44  
 
 45  
     @XmlElement
 46  
     private String personInfoOverride;
 47  
 
 48  
     @XmlElement
 49  
     @XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class)
 50  
     private Map<String, String> attributes;
 51  
 
 52  
 
 53  
     /**
 54  
      * Unique identifier for an organization. This indicates which
 55  
      * organization this individual is associated with for the
 56  
      * purposes of this clu.
 57  
      */
 58  
 
 59  
     public String getOrgId() {
 60  0
         return orgId;
 61  
     }
 62  
 
 63  
     public void setOrgId(String orgId) {
 64  0
         this.orgId = orgId;
 65  0
     }
 66  
 
 67  
 
 68  
     /**
 69  
      * Unique identifier for a person record.
 70  
      */
 71  
 
 72  
     public String getPersonId() {
 73  0
         return personId;
 74  
     }
 75  
 
 76  
     public void setPersonId(String personId) {
 77  0
         this.personId = personId;
 78  0
     }
 79  
 
 80  
 
 81  
     /**
 82  
      * List of key/value pairs, typically used for dynamic attributes.
 83  
      */
 84  
 
 85  
     public Map<String, String> getAttributes() {
 86  0
         if (attributes == null) {
 87  0
             attributes = new HashMap<String, String>();
 88  
         }
 89  
 
 90  0
         return attributes;
 91  
     }
 92  
 
 93  
     public void setAttributes(Map<String, String> attributes) {
 94  0
         this.attributes = attributes;
 95  0
     }
 96  
 
 97  
 
 98  
     /**
 99  
      * @return the personInfoOverride
 100  
      */
 101  
 
 102  
     public String getPersonInfoOverride() {
 103  0
         return personInfoOverride;
 104  
     }
 105  
 
 106  
 
 107  
     /**
 108  
      * @param personInfoOverride the personInfoOverride to set
 109  
      */
 110  
 
 111  
     public void setPersonInfoOverride(String personInfoOverride) {
 112  0
         this.personInfoOverride = personInfoOverride;
 113  0
     }
 114  
 }