Coverage Report - org.kuali.student.enrollment.grading.dto.GradeRosterEntryInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
GradeRosterEntryInfo
0%
0/33
N/A
1
 
 1  
 /**
 2  
  * Copyright 2007 The Kuali Foundation Licensed under the Educational Community
 3  
  * License, Version 1.0 (the "License"); you may not use this file except in
 4  
  * compliance with the License. You may obtain a copy of the License at
 5  
  * http://www.opensource.org/licenses/ecl1.php Unless required by applicable law
 6  
  * or agreed to in writing, software distributed under the License is
 7  
  * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 8  
  * KIND, either express or implied. See the License for the specific language
 9  
  * governing permissions and limitations under the License.
 10  
  */
 11  
 package org.kuali.student.enrollment.grading.dto;
 12  
 
 13  
 import java.io.Serializable;
 14  
 import java.util.ArrayList;
 15  
 import java.util.List;
 16  
 
 17  
 import javax.xml.bind.annotation.XmlAccessType;
 18  
 import javax.xml.bind.annotation.XmlAccessorType;
 19  
 import javax.xml.bind.annotation.XmlAnyElement;
 20  
 import javax.xml.bind.annotation.XmlAttribute;
 21  
 import javax.xml.bind.annotation.XmlElement;
 22  
 import javax.xml.bind.annotation.XmlType;
 23  
 
 24  
 import org.kuali.student.enrollment.grading.infc.GradeRosterEntry;
 25  
 import org.kuali.student.r2.common.dto.HasAttributesAndMetaInfo;
 26  
 import org.w3c.dom.Element;
 27  
 
 28  
 /**
 29  
  * @author Kuali Student Team (Kamal)
 30  
  */
 31  
 @XmlAccessorType(XmlAccessType.FIELD)
 32  
 @XmlType(name = "GradeRosterEntryInfo", propOrder = {"id", "studentId", "validGradeGroupKeys", "activityOfferingId", "assignedGradeKey",
 33  
         "administrativeGradeKey", "calculatedGradeKey", "creditsEarnedKey", "meta", "attributes", "_futureElements"})
 34  
 public class GradeRosterEntryInfo extends HasAttributesAndMetaInfo implements GradeRosterEntry, Serializable {
 35  
 
 36  
     private static final long serialVersionUID = 1L;
 37  
 
 38  
     @XmlAttribute
 39  
     private String id;
 40  
 
 41  
     @XmlElement
 42  
     private String studentId;
 43  
 
 44  
     @XmlElement
 45  
     private String activityOfferingId;
 46  
 
 47  
     @XmlElement
 48  
     private String assignedGradeKey;
 49  
 
 50  
     @XmlElement
 51  
     private String administrativeGradeKey;
 52  
 
 53  
     @XmlElement
 54  
     private String calculatedGradeKey;
 55  
 
 56  
     @XmlElement
 57  
     private String creditsEarnedKey;
 58  
     
 59  
     @XmlElement
 60  
     private List<String> validGradeGroupKeys;
 61  
 
 62  
     @XmlAnyElement
 63  
     private List<Element> _futureElements;
 64  
 
 65  
     public GradeRosterEntryInfo() {
 66  0
         super();
 67  0
         this.activityOfferingId = null;
 68  0
         this.studentId = null;
 69  0
         this.assignedGradeKey = null;
 70  0
         this.administrativeGradeKey = null;
 71  0
         this.calculatedGradeKey = null;
 72  0
         this.creditsEarnedKey = null;
 73  0
         this.validGradeGroupKeys = new ArrayList<String>();
 74  0
     }
 75  
 
 76  
     @Override
 77  
     public String getId() {
 78  0
         return id;
 79  
     }
 80  
 
 81  
     public void setId(String id) {
 82  0
         this.id = id;
 83  0
     }
 84  
 
 85  
     @Override
 86  
     public String getStudentId() {
 87  0
         return studentId;
 88  
     }
 89  
 
 90  
     public void setStudentId(String studentId) {
 91  0
         this.studentId = studentId;
 92  0
     }
 93  
 
 94  
     @Override
 95  
     public String getActivityOfferingId() {
 96  0
         return activityOfferingId;
 97  
     }
 98  
 
 99  
     public void setActivityOfferingId(String activityOfferingId) {
 100  0
         this.activityOfferingId = activityOfferingId;
 101  0
     }
 102  
 
 103  
     @Override
 104  
     public String getAssignedGradeKey() {
 105  0
         return assignedGradeKey;
 106  
     }
 107  
 
 108  
     public void setAssignedGradeKey(String assignedGradeId) {
 109  0
         this.assignedGradeKey = assignedGradeId;
 110  0
     }
 111  
 
 112  
     @Override
 113  
     public String getCalculatedGradeKey() {
 114  0
         return calculatedGradeKey;
 115  
     }
 116  
 
 117  
     public void setCalculatedGradeKey(String calculatedGradeId) {
 118  0
         this.calculatedGradeKey = calculatedGradeId;
 119  0
     }
 120  
 
 121  
     @Override
 122  
     public String getCreditsEarnedKey() {
 123  0
         return creditsEarnedKey;
 124  
     }
 125  
 
 126  
     public void setCreditsEarnedKey(String creditsEarnedKey) {
 127  0
         this.creditsEarnedKey = creditsEarnedKey;
 128  0
     }
 129  
 
 130  
     @Override
 131  
     public String getAdministrativeGradeKey() {
 132  0
         return administrativeGradeKey;
 133  
     }
 134  
 
 135  
     public void setAdministrativeGradeKey(String administrativeGradeKey) {
 136  0
         this.administrativeGradeKey = administrativeGradeKey;
 137  0
     }
 138  
 
 139  
     public void setValidGradeGroupKeys(List<String> validGradeGroupKeys) {
 140  0
         this.validGradeGroupKeys = validGradeGroupKeys;
 141  0
     }
 142  
     @Override
 143  
     public List<String> getValidGradeGroupKeys() {
 144  0
         return validGradeGroupKeys;
 145  
     }
 146  
 }