Coverage Report - org.kuali.student.r2.lum.lu.dto.CluInstructorInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
CluInstructorInfo
0%
0/17
0%
0/2
1.125
 
 1  
 /**
 2  
  * Copyright 2010 The Kuali Foundation Licensed under the Educational Community
 3  
  * License, Version 2.0 (the "License"); you may not use this file except in
 4  
  * compliance with the License. You may obtain a copy of the License at
 5  
  * http://www.osedu.org/licenses/ECL-2.0 Unless required by applicable law or
 6  
  * agreed to in writing, software distributed under the License is distributed
 7  
  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
 8  
  * express or implied. See the License for the specific language governing
 9  
  * permissions and limitations under the License.
 10  
  */
 11  
 
 12  
 package org.kuali.student.r2.lum.lu.dto;
 13  
 
 14  
 import org.kuali.student.r2.common.dto.HasAttributesInfo;
 15  
 import org.kuali.student.r2.lum.lu.infc.CluInstructor;
 16  
 import org.w3c.dom.Element;
 17  
 
 18  
 import javax.xml.bind.annotation.XmlAccessType;
 19  
 import javax.xml.bind.annotation.XmlAccessorType;
 20  
 import javax.xml.bind.annotation.XmlAnyElement;
 21  
 import javax.xml.bind.annotation.XmlElement;
 22  
 import javax.xml.bind.annotation.XmlType;
 23  
 import java.io.Serializable;
 24  
 import java.util.List;
 25  
 
 26  
 /**
 27  
  * @author Kuali Student Team (sambitpa@kuali.org)
 28  
  */
 29  
 @XmlAccessorType(XmlAccessType.FIELD)
 30  
 @XmlType(name = "CluInstructorInfo", propOrder = {"orgId", "personId",
 31  
         "personInfoOverride", "attributes", "_futureElements"})
 32  
 public class CluInstructorInfo extends HasAttributesInfo implements CluInstructor, Serializable {
 33  
 
 34  
     private static final long serialVersionUID = 1L;
 35  
 
 36  
     @XmlElement
 37  
     private String orgId;
 38  
     @XmlElement
 39  
     private String personId;
 40  
     @XmlElement
 41  
     private String personInfoOverride;
 42  
     @XmlAnyElement
 43  
     private List<Element> _futureElements;
 44  
 
 45  0
     public CluInstructorInfo() {
 46  0
     }
 47  
 
 48  
     public CluInstructorInfo(CluInstructor cluInstructor) {
 49  0
         super(cluInstructor);
 50  0
         if (cluInstructor != null) {
 51  0
             this.orgId = cluInstructor.getOrgId();
 52  0
             this.personId = cluInstructor.getPersonId();
 53  0
             this.personInfoOverride = cluInstructor.getPersonInfoOverride();
 54  
         }
 55  0
     }
 56  
 
 57  
     @Override
 58  
     public String getOrgId() {
 59  0
         return orgId;
 60  
     }
 61  
 
 62  
     public void setOrgId(String orgId) {
 63  0
         this.orgId = orgId;
 64  0
     }
 65  
 
 66  
     @Override
 67  
     public String getPersonId() {
 68  0
         return personId;
 69  
     }
 70  
 
 71  
     public void setPersonId(String personId) {
 72  0
         this.personId = personId;
 73  0
     }
 74  
 
 75  
     @Override
 76  
     public String getPersonInfoOverride() {
 77  0
         return personInfoOverride;
 78  
     }
 79  
 
 80  
     public void setPersonInfoOverride(String personInfoOverride) {
 81  0
         this.personInfoOverride = personInfoOverride;
 82  0
     }
 83  
 }