Coverage Report - org.kuali.student.r2.lum.lu.dto.AcademicSubjectOrgInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
AcademicSubjectOrgInfo
0%
0/9
0%
0/2
1.25
 
 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.r2.lum.lu.dto;
 17  
 
 18  
 import org.kuali.student.r2.lum.lu.infc.AcademicSubjectOrg;
 19  
 import org.w3c.dom.Element;
 20  
 
 21  
 import javax.xml.bind.annotation.XmlAccessType;
 22  
 import javax.xml.bind.annotation.XmlAccessorType;
 23  
 import javax.xml.bind.annotation.XmlAnyElement;
 24  
 import javax.xml.bind.annotation.XmlElement;
 25  
 import javax.xml.bind.annotation.XmlType;
 26  
 import java.io.Serializable;
 27  
 import java.util.List;
 28  
 
 29  
 /**
 30  
  * @Author KSContractMojo
 31  
  * @Author Kamal
 32  
  * @Version 2.0
 33  
  * @Author Sri komandur@uw.edu
 34  
  */
 35  
 @XmlAccessorType(XmlAccessType.FIELD)
 36  
 @XmlType(name = "AcademicSubjectOrgInfo", propOrder = {"orgId", "_futureElements"})
 37  
 public class AcademicSubjectOrgInfo implements AcademicSubjectOrg, Serializable {
 38  
 
 39  
     private static final long serialVersionUID = 1L;
 40  
 
 41  
     @XmlElement
 42  
     private String orgId;
 43  
     @XmlAnyElement
 44  
     private List<Element> _futureElements;
 45  
 
 46  0
     public AcademicSubjectOrgInfo() {
 47  0
     }
 48  
 
 49  0
     public AcademicSubjectOrgInfo(AcademicSubjectOrg academicSubjectOrg) {
 50  0
         if (null != academicSubjectOrg) {
 51  0
             this.orgId = academicSubjectOrg.getOrgId();
 52  
         }
 53  0
     }
 54  
 
 55  
     @Override
 56  
     public String getOrgId() {
 57  0
         return orgId;
 58  
     }
 59  
 
 60  
     public void setOrgId(String orgId) {
 61  0
         this.orgId = orgId;
 62  0
     }
 63  
 }