Coverage Report - org.kuali.student.r2.core.exemption.dto.LearningResultOverrideInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
LearningResultOverrideInfo
0%
0/12
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  
 package org.kuali.student.r2.core.exemption.dto;
 16  
 
 17  
 import java.io.Serializable;
 18  
 import java.util.List;
 19  
 import java.util.ArrayList;
 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  
 
 27  
 import org.kuali.student.r2.core.exemption.infc.LearningResultOverride;
 28  
 import org.w3c.dom.Element;
 29  
 
 30  
 @XmlAccessorType(XmlAccessType.FIELD)
 31  
 @XmlType(name = "LearningResultOverrideInfo", propOrder = { "lrrIds",
 32  
                 "_futureElements" })
 33  
 
 34  
 public class LearningResultOverrideInfo implements LearningResultOverride, Serializable {
 35  
         private static final long serialVersionUID = 1L;
 36  
 
 37  
         @XmlElement
 38  
         private List<String> lrrIds;
 39  
 
 40  
         @XmlAnyElement
 41  
         private List<Element> _futureElements;
 42  
 
 43  
         public LearningResultOverrideInfo() {
 44  0
                 super();
 45  0
                 lrrIds = null;
 46  0
                 _futureElements = null;
 47  0
         }
 48  
 
 49  
         /**
 50  
          * Constructs a new LearningResultOverrideInfo from another
 51  
          * LearningResultOverride.
 52  
          * 
 53  
          * @param exemption the LearningResultOverride to copy
 54  
          */
 55  
         public LearningResultOverrideInfo(LearningResultOverride learningResultOverride) {
 56  0
                 super();
 57  0
                 if (null != learningResultOverride) {
 58  0
                     this.lrrIds = new ArrayList(learningResultOverride.getLrrIds());
 59  
                 }
 60  
 
 61  0
                 _futureElements = null;
 62  0
         }
 63  
 
 64  
         @Override
 65  
         public List<String> getLrrIds() {
 66  0
             return lrrIds;
 67  
         }
 68  
 
 69  
         public void setLrrIds(List<String> lrrIds) {
 70  0
             this.lrrIds = lrrIds;
 71  0
         }
 72  
 }