Coverage Report - org.kuali.student.enrollment.exemption.dto.MilestoneOverrideInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
MilestoneOverrideInfo
0%
0/17
0%
0/2
1.167
 
 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  
 package org.kuali.student.enrollment.exemption.dto;
 16  
 
 17  
 import java.io.Serializable;
 18  
 import java.util.List;
 19  
 
 20  
 import javax.xml.bind.annotation.XmlAccessType;
 21  
 import javax.xml.bind.annotation.XmlAccessorType;
 22  
 import javax.xml.bind.annotation.XmlAnyElement;
 23  
 import javax.xml.bind.annotation.XmlElement;
 24  
 import javax.xml.bind.annotation.XmlType;
 25  
 
 26  
 import org.kuali.student.enrollment.exemption.infc.MilestoneOverride;
 27  
 import org.w3c.dom.Element;
 28  
 
 29  
 @XmlAccessorType(XmlAccessType.FIELD)
 30  
 @XmlType(name = "MilestoneOverrideInfo", propOrder = { "milestoneKey", 
 31  
                  "effectiveMilestoneKey", "_futureElements" })
 32  
 
 33  
 public class MilestoneOverrideInfo implements MilestoneOverride, Serializable {
 34  
         private static final long serialVersionUID = 1L;
 35  
 
 36  
         @XmlElement
 37  
         private String milestoneKey;
 38  
 
 39  
         @XmlElement
 40  
         private String effectiveMilestoneKey;
 41  
 
 42  
         @XmlAnyElement
 43  
         private List<Element> _futureElements;
 44  
 
 45  
         public MilestoneOverrideInfo() {
 46  0
                 super();
 47  0
                 milestoneKey = null;
 48  0
                 effectiveMilestoneKey = null;
 49  0
                 _futureElements = null;
 50  0
         }
 51  
 
 52  
         /**
 53  
          * Constructs a new MilestoneOverrideInfo from another
 54  
          * MilestoneOverride.
 55  
          * 
 56  
          * @param exemption the MilestoneOverride to copy
 57  
          */
 58  
         public MilestoneOverrideInfo(MilestoneOverride milestoneOverride) {
 59  0
                 super();
 60  0
                 if (null != milestoneOverride) {
 61  0
                     this.milestoneKey = milestoneOverride.getMilestoneKey();
 62  0
                     this.effectiveMilestoneKey = milestoneOverride.getEffectiveMilestoneKey();
 63  
                 }
 64  
 
 65  0
                 _futureElements = null;
 66  0
         }
 67  
 
 68  
         @Override
 69  
         public String getMilestoneKey() {
 70  0
             return milestoneKey;
 71  
         }
 72  
 
 73  
         public void setMilestoneKey(String milestoneKey) {
 74  0
             this.milestoneKey = milestoneKey;
 75  0
         }
 76  
 
 77  
         @Override
 78  
         public String getEffectiveMilestoneKey() {
 79  0
             return effectiveMilestoneKey;
 80  
         }
 81  
 
 82  
         public void setEffectiveMilestoneKey(String effectiveMilestoneKey) {
 83  0
             this.effectiveMilestoneKey = effectiveMilestoneKey;
 84  0
         }
 85  
 }