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 java.io.Serializable;
 15  
 
 16  
 import javax.xml.bind.annotation.XmlAccessType;
 17  
 import javax.xml.bind.annotation.XmlAccessorType;
 18  
 import javax.xml.bind.annotation.XmlElement;
 19  
 
 20  
 import org.kuali.student.r2.common.dto.HasAttributesInfo;
 21  
 import org.kuali.student.r2.lum.lu.infc.CluInstructor;
 22  
 
 23  
 /**
 24  
  * 
 25  
  
 26  
  * 
 27  
  * @author Kuali Student Team (sambitpa@kuali.org)
 28  
  *
 29  
  */
 30  
 @XmlAccessorType(XmlAccessType.FIELD)
 31  
 public class CluInstructorInfo extends HasAttributesInfo implements CluInstructor, Serializable {
 32  
 
 33  
     private static final long serialVersionUID = 1L;
 34  
 
 35  
     @XmlElement
 36  
     private String orgId;
 37  
 
 38  
     @XmlElement
 39  
     private String personId;
 40  
 
 41  
     @XmlElement
 42  
     private String personInfoOverride;
 43  
 
 44  
     public CluInstructorInfo() {
 45  
 
 46  0
         super();
 47  
 
 48  0
     }
 49  
 
 50  
     public CluInstructorInfo(CluInstructor cluInstructor) {
 51  0
         super(cluInstructor);
 52  0
         if (cluInstructor != null) {
 53  0
             this.orgId = cluInstructor.getOrgId();
 54  0
             this.personId = cluInstructor.getPersonId();
 55  0
             this.personInfoOverride = cluInstructor.getPersonInfoOverride();
 56  
         }
 57  0
     }
 58  
 
 59  
 
 60  
     @Override
 61  
     public String getOrgId() {
 62  0
         return orgId;
 63  
     }
 64  
 
 65  
     public void setOrgId(String orgId) {
 66  0
         this.orgId = orgId;
 67  0
     }
 68  
 
 69  
 
 70  
     @Override
 71  
     public String getPersonId() {
 72  0
         return personId;
 73  
     }
 74  
 
 75  
     public void setPersonId(String personId) {
 76  0
         this.personId = personId;
 77  0
     }
 78  
 
 79  
     @Override
 80  
     public String getPersonInfoOverride() {
 81  0
         return personInfoOverride;
 82  
     }
 83  
 
 84  
 
 85  
     public void setPersonInfoOverride(String personInfoOverride) {
 86  0
         this.personInfoOverride = personInfoOverride;
 87  0
     }
 88  
 }