Coverage Report - org.kuali.student.r2.core.process.dto.CheckInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
CheckInfo
0%
0/33
0%
0/2
1.062
 
 1  
 /*
 2  
  * Copyright 2011 The Kuali Foundation 
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 2.0 (the
 5  
  * "License"); you may not use this file except in compliance with the
 6  
  * License. You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.osedu.org/licenses/ECL-2.0
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
 13  
  * implied. See the License for the specific language governing
 14  
  * permissions and limitations under the License.
 15  
  */
 16  
 
 17  
 package org.kuali.student.r2.core.process.dto;
 18  
 
 19  
 import java.io.Serializable;
 20  
 import java.util.List;
 21  
 
 22  
 import javax.xml.bind.annotation.XmlAccessType;
 23  
 import javax.xml.bind.annotation.XmlAccessorType;
 24  
 import javax.xml.bind.annotation.XmlAnyElement;
 25  
 import javax.xml.bind.annotation.XmlElement;
 26  
 import javax.xml.bind.annotation.XmlType;
 27  
 
 28  
 import org.kuali.student.r2.common.dto.IdEntityInfo;
 29  
 import org.kuali.student.r2.core.process.infc.Check;
 30  
 
 31  
 import org.w3c.dom.Element;
 32  
 
 33  
 @XmlAccessorType(XmlAccessType.FIELD)
 34  
 @XmlType(name = "CheckInfo", propOrder = { "id", "typeKey", "stateKey", "name",
 35  
                 "descr", "issueId", "milestoneTypeKey", 
 36  
                 "agendaId", "processKey", 
 37  
                 "rightComparisonValue", "leftComparisonAgendaId", "rightComparisonAgendaId",
 38  
                 "meta", "attributes", "_futureElements" })
 39  
 
 40  
 public class CheckInfo 
 41  
     extends IdEntityInfo 
 42  
     implements Check, Serializable {
 43  
 
 44  
     private static final long serialVersionUID = 1L;
 45  
     
 46  
     @XmlElement 
 47  
     private String issueId;
 48  
 
 49  
     @XmlElement 
 50  
     private String milestoneTypeKey;
 51  
 
 52  
     @XmlElement 
 53  
     private String agendaId;
 54  
 
 55  
     @XmlElement
 56  
     private String rightComparisonAgendaId;
 57  
 
 58  
     @XmlElement
 59  
     private String rightComparisonValue;
 60  
 
 61  
     @XmlElement
 62  
     private String leftComparisonAgendaId;
 63  
 
 64  
     @XmlElement 
 65  
     private String processKey;
 66  
 
 67  
     @XmlAnyElement
 68  
     private List<Element> _futureElements;
 69  
 
 70  
 
 71  
     /**
 72  
      * Constructs a new CheckInfo.
 73  
      */    
 74  0
     public CheckInfo() {
 75  0
     }
 76  
 
 77  
     /**
 78  
      * Constructs a new CheckInfo from another Check.
 79  
      * 
 80  
      * @param check the Check to copy
 81  
      */
 82  
     public CheckInfo(Check check) {
 83  0
         super(check);
 84  
 
 85  0
         if (check != null) {
 86  0
             this.issueId = check.getIssueId();
 87  0
             this.milestoneTypeKey = check.getMilestoneTypeKey();
 88  0
             this.agendaId = check.getAgendaId();
 89  0
             this.processKey = check.getProcessKey();
 90  0
             this.rightComparisonValue = check.getRightComparisonValue();
 91  0
             this.leftComparisonAgendaId = check.getLeftComparisonAgendaId();
 92  0
             this.rightComparisonAgendaId = check.getRightComparisonAgendaId();
 93  
         }
 94  0
     }
 95  
 
 96  
     @Override
 97  
     public String getIssueId() {
 98  0
         return this.issueId;
 99  
     }
 100  
 
 101  
     public void setIssueId(String issueId) {
 102  0
         this.issueId = issueId;
 103  0
     }
 104  
 
 105  
     @Override
 106  
     public String getMilestoneTypeKey() {
 107  0
         return this.milestoneTypeKey;
 108  
     }
 109  
 
 110  
     public void setMilestoneTypeKey(String milestoneTypeKey) {
 111  0
         this.milestoneTypeKey = milestoneTypeKey;
 112  0
     }
 113  
 
 114  
     @Override
 115  
     public String getAgendaId() {
 116  0
         return this.agendaId;
 117  
     }
 118  
 
 119  
     public void setAgendaId(String agendaId) {
 120  0
         this.agendaId = agendaId;
 121  0
     }
 122  
 
 123  
     @Override
 124  
     public String getProcessKey() {
 125  0
         return this.processKey;
 126  
     }
 127  
 
 128  
     public void setProcessKey(String processKey) {
 129  0
         this.processKey = processKey;
 130  0
     }
 131  
 
 132  
     @Override
 133  
     public String getRightComparisonValue() {
 134  0
         return this.rightComparisonValue;
 135  
     }
 136  
 
 137  
     public void setRightComparisonValue(String rightComparisonValue) {
 138  0
         this.rightComparisonValue = rightComparisonValue;
 139  0
     }
 140  
 
 141  
     @Override
 142  
     public String getLeftComparisonAgendaId() {
 143  0
         return this.leftComparisonAgendaId;
 144  
     }
 145  
 
 146  
     public void setLeftComparisonAgendaId(String leftComparisonAgendaId) {
 147  0
         this.leftComparisonAgendaId = leftComparisonAgendaId;
 148  0
     }
 149  
 
 150  
     @Override
 151  
     public String getRightComparisonAgendaId() {
 152  0
         return this.rightComparisonAgendaId;
 153  
     }
 154  
 
 155  
     public void setRightComparisonAgendaId(String rightComparisonAgendaId) {
 156  0
         this.rightComparisonAgendaId = rightComparisonAgendaId;
 157  0
     }
 158  
 }