Coverage Report - org.kuali.student.r2.core.process.dto.CheckInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
CheckInfo
0%
0/21
0%
0/2
1.1
 
 1  
 /*
 2  
  * Copyright 2011 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.core.process.dto;
 17  
 
 18  
 import java.io.Serializable;
 19  
 import java.util.List;
 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.common.dto.KeyEntityInfo;
 28  
 import org.kuali.student.r2.core.process.infc.Check;
 29  
 
 30  
 import org.w3c.dom.Element;
 31  
 
 32  
 @XmlAccessorType(XmlAccessType.FIELD)
 33  
 @XmlType(name = "CheckInfo", propOrder = { "key", "typeKey", "stateKey", "name",
 34  
                 "descr", "issueId", "milestoneTypeKey", 
 35  
                 "agendaId", "processKey", "meta", "attributes",
 36  
                 "_futureElements" })
 37  
 
 38  
 public class CheckInfo extends KeyEntityInfo 
 39  
     implements Check, Serializable {
 40  
 
 41  
     private static final long serialVersionUID = 1L;
 42  
     
 43  
     @XmlElement 
 44  
     private String issueId;
 45  
 
 46  
     @XmlElement 
 47  
     private String milestoneTypeKey;
 48  
 
 49  
     @XmlElement 
 50  
     private String agendaId;
 51  
 
 52  
     @XmlElement 
 53  
     private String processKey;
 54  
 
 55  
     @XmlAnyElement
 56  
     private List<Element> _futureElements;
 57  
 
 58  
 
 59  
     /**
 60  
      * Constructs a new CheckInfo.
 61  
      */    
 62  0
     public CheckInfo() {
 63  0
     }
 64  
 
 65  
     /**
 66  
      * Constructs a new CheckInfo from another Check.
 67  
      * 
 68  
      * @param check the Check to copy
 69  
      */
 70  
     public CheckInfo(Check check) {
 71  0
         super(check);
 72  
 
 73  0
         if (check != null) {
 74  0
             this.issueId = check.getIssueId();
 75  0
             this.milestoneTypeKey = check.getMilestoneTypeKey();
 76  0
             this.agendaId = check.getAgendaId();
 77  0
             this.processKey = check.getProcessKey();
 78  
         }
 79  0
     }
 80  
 
 81  
     @Override
 82  
     public String getIssueId() {
 83  0
         return this.issueId;
 84  
     }
 85  
 
 86  
     public void setIssueId(String issueId) {
 87  0
         this.issueId = issueId;
 88  0
     }
 89  
 
 90  
     @Override
 91  
     public String getMilestoneTypeKey() {
 92  0
         return this.milestoneTypeKey;
 93  
     }
 94  
 
 95  
     public void setMilestoneTypeKey(String milestoneTypeKey) {
 96  0
         this.milestoneTypeKey = milestoneTypeKey;
 97  0
     }
 98  
 
 99  
     @Override
 100  
     public String getAgendaId() {
 101  0
         return this.agendaId;
 102  
     }
 103  
 
 104  
     public void setAgendaId(String agendaId) {
 105  0
         this.agendaId = agendaId;
 106  0
     }
 107  
 
 108  
     @Override
 109  
     public String getProcessKey() {
 110  0
         return this.processKey;
 111  
     }
 112  
 
 113  
     public void setProcessKey(String processKey) {
 114  0
         this.processKey = processKey;
 115  0
     }
 116  
 }