Coverage Report - org.kuali.student.r2.core.exemption.dto.AgendaOverrideInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
AgendaOverrideInfo
0%
0/25
0%
0/2
1.1
 
 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  
 
 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.r2.core.exemption.infc.AgendaOverride;
 27  
 import org.w3c.dom.Element;
 28  
 
 29  
 @XmlAccessorType(XmlAccessType.FIELD)
 30  
 @XmlType(name = "StatementOverrideInfo", propOrder = {"agendaId", "anchorId",
 31  
     "_futureElements"})
 32  
 public class AgendaOverrideInfo implements AgendaOverride, Serializable {
 33  
 
 34  
     private static final long serialVersionUID = 1L;
 35  
     @XmlElement
 36  
     private String existingAgendaId;
 37  
     @XmlElement
 38  
     private String newAgendaId;
 39  
     @XmlElement
 40  
     private String anchorRefObjectUri;
 41  
     @XmlElement
 42  
     private String anchorRefObjectId;
 43  
     @XmlAnyElement
 44  
     private List<Element> _futureElements;
 45  
 
 46  
     public AgendaOverrideInfo() {
 47  0
         super();
 48  0
         existingAgendaId = null;
 49  0
         anchorRefObjectId = null;
 50  0
         _futureElements = null;
 51  0
     }
 52  
 
 53  
     /**
 54  
      * Constructs a new StatementOverrideInfo from another
 55  
      * StatementOverride.
 56  
      * 
 57  
      * @param exemption the StatementOverride to copy
 58  
      */
 59  
     public AgendaOverrideInfo(AgendaOverride statementOverride) {
 60  0
         super();
 61  0
         if (null != statementOverride) {
 62  0
             this.existingAgendaId = statementOverride.getExistingAgendaId();
 63  0
             this.newAgendaId = statementOverride.getNewAgendaId();
 64  0
             this.anchorRefObjectId = statementOverride.getAnchorRefObjectId();
 65  0
             this.anchorRefObjectUri = statementOverride.getAnchorRefObjectUri();
 66  
         }
 67  
 
 68  0
         _futureElements = null;
 69  0
     }
 70  
 
 71  
     @Override
 72  
     public String getExistingAgendaId() {
 73  0
         return existingAgendaId;
 74  
     }
 75  
 
 76  
     public void setExistingId(String existingAgendaId) {
 77  0
         this.existingAgendaId = existingAgendaId;
 78  0
     }
 79  
 
 80  
     @Override
 81  
     public String getNewAgendaId() {
 82  0
         return newAgendaId;
 83  
     }
 84  
 
 85  
     public void setNewAgendaId(String newAgendaId) {
 86  0
         this.newAgendaId = newAgendaId;
 87  0
     }
 88  
 
 89  
     @Override
 90  
     public String getAnchorRefObjectUri() {
 91  0
         return anchorRefObjectUri;
 92  
     }
 93  
 
 94  
     public void setAnchorRefObjectUri(String anchorRefObjectUri) {
 95  0
         this.anchorRefObjectUri = anchorRefObjectUri;
 96  0
     }
 97  
 
 98  
     @Override
 99  
     public String getAnchorRefObjectId() {
 100  0
         return anchorRefObjectId;
 101  
     }
 102  
 
 103  
     public void setAnchorId(String anchorRefObjectId) {
 104  0
         this.anchorRefObjectId = anchorRefObjectId;
 105  0
     }
 106  
 }