Coverage Report - org.kuali.student.r2.lum.clu.dto.CluInstructorInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
CluInstructorInfo
0%
0/20
0%
0/2
1.1
 
 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.clu.dto;
 13  
 
 14  
 import org.kuali.student.r2.common.dto.HasAttributesInfo;
 15  
 import org.kuali.student.r2.lum.clu.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 = {"id", "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 id;
 38  
     @XmlElement
 39  
     private String orgId;
 40  
     @XmlElement
 41  
     private String personId;
 42  
     @XmlElement
 43  
     private String personInfoOverride;
 44  
     @XmlAnyElement
 45  
     private List<Element> _futureElements;
 46  
 
 47  0
     public CluInstructorInfo() {
 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  
     @Override
 60  
     public String getId() {
 61  0
         return id;
 62  
     }
 63  
 
 64  
     public void setId(String id) {
 65  0
         this.id = id;
 66  0
     }
 67  
 
 68  
     @Override
 69  
     public String getOrgId() {
 70  0
         return orgId;
 71  
     }
 72  
 
 73  
     public void setOrgId(String orgId) {
 74  0
         this.orgId = orgId;
 75  0
     }
 76  
 
 77  
     @Override
 78  
     public String getPersonId() {
 79  0
         return personId;
 80  
     }
 81  
 
 82  
     public void setPersonId(String personId) {
 83  0
         this.personId = personId;
 84  0
     }
 85  
 
 86  
     @Override
 87  
     public String getPersonInfoOverride() {
 88  0
         return personInfoOverride;
 89  
     }
 90  
 
 91  
     public void setPersonInfoOverride(String personInfoOverride) {
 92  0
         this.personInfoOverride = personInfoOverride;
 93  0
     }
 94  
 }