Coverage Report - org.kuali.student.enrollment.courseoffering.dto.ActivityOfferingAdminDisplayInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
ActivityOfferingAdminDisplayInfo
0%
0/50
0%
0/2
1.083
 
 1  
 /*
 2  
  * Copyright 2012 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 1.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.opensource.org/licenses/ecl1.php
 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.enrollment.courseoffering.dto;
 18  
 
 19  
 import java.util.ArrayList;
 20  
 import java.util.Date;
 21  
 import java.util.List;
 22  
 
 23  
 import javax.xml.bind.annotation.XmlAccessType;
 24  
 import javax.xml.bind.annotation.XmlAccessorType;
 25  
 import javax.xml.bind.annotation.XmlAnyElement;
 26  
 import javax.xml.bind.annotation.XmlElement;
 27  
 import javax.xml.bind.annotation.XmlType;
 28  
 
 29  
 import org.kuali.student.enrollment.courseoffering.infc.ActivityOfferingAdminDisplay;
 30  
 import org.kuali.student.r2.common.dto.IdEntityInfo;
 31  
 
 32  
 import org.w3c.dom.Element;
 33  
 
 34  
 
 35  
 @XmlAccessorType(XmlAccessType.FIELD)
 36  
 @XmlType(name = "ActivityOfferingAdminDisplayInfo", propOrder = {
 37  
                 "id", "typeKey", "stateKey", "name", "descr", 
 38  
                 "typeName", "stateName", "courseOfferingTitle",
 39  
                 "courseOfferingCode", "formatOfferingId", "formatOfferingName",
 40  
                 "activityOfferingCode", "instructorId",  "instructorName", 
 41  
                 "scheduleWeekdays", "scheduleTime",
 42  
                 "meta", "attributes", "_futureElements"})
 43  
 
 44  
 public class ActivityOfferingAdminDisplayInfo 
 45  
     extends IdEntityInfo 
 46  
     implements ActivityOfferingAdminDisplay {
 47  
 
 48  
     private static final long serialVersionUID = 1L;
 49  
 
 50  
     @XmlElement
 51  
     private String typeName;
 52  
     
 53  
     @XmlElement
 54  
     private String stateName;
 55  
         
 56  
     @XmlElement
 57  
     private String courseOfferingTitle;
 58  
 
 59  
     @XmlElement
 60  
     private String courseOfferingCode;   
 61  
     
 62  
     @XmlElement
 63  
     private String formatOfferingId;
 64  
 
 65  
     @XmlElement
 66  
     private String formatOfferingName;
 67  
     
 68  
     @XmlElement
 69  
     private String activityOfferingCode;   
 70  
 
 71  
     @XmlElement
 72  
     private String instructorId;   
 73  
 
 74  
     @XmlElement
 75  
     private String instructorName;   
 76  
 
 77  
     @XmlElement
 78  
     private String scheduleWeekdays;
 79  
 
 80  
     @XmlElement
 81  
     private String scheduleTime;   
 82  
 
 83  
     @XmlAnyElement
 84  
     private List<Element> _futureElements;
 85  
 
 86  
 
 87  
     /**
 88  
      * Constructs a new ActivityOfferingAdminDisplayInfo.
 89  
      */
 90  0
     public ActivityOfferingAdminDisplayInfo() {
 91  0
     }
 92  
 
 93  
     /**
 94  
      * Constructs a new ActivityOfferingAdminDisplayInfo from another
 95  
      * ActivityOfferingAdminDisplay.
 96  
      *
 97  
      * @param offeringAdmin the activity offering admin display to copy
 98  
      */
 99  
     public ActivityOfferingAdminDisplayInfo(ActivityOfferingAdminDisplay offeringAdmin) {
 100  0
         super(offeringAdmin); 
 101  
         
 102  0
         if (offeringAdmin == null) {
 103  0
             return;
 104  
         }
 105  
 
 106  0
         this.typeName = offeringAdmin.getTypeName();
 107  0
         this.stateName = offeringAdmin.getStateName();
 108  0
         this.courseOfferingTitle = offeringAdmin.getCourseOfferingTitle();
 109  0
         this.courseOfferingCode = offeringAdmin.getCourseOfferingCode();
 110  0
         this.formatOfferingId = offeringAdmin.getFormatOfferingId();
 111  0
         this.formatOfferingName = offeringAdmin.getFormatOfferingName();
 112  0
         this.activityOfferingCode = offeringAdmin.getActivityOfferingCode();
 113  0
         this.instructorId = offeringAdmin.getInstructorId();
 114  0
         this.instructorName = offeringAdmin.getInstructorName();
 115  0
         this.scheduleWeekdays = offeringAdmin.getScheduleWeekdays();
 116  0
         this.scheduleTime = offeringAdmin.getScheduleTime();
 117  0
     }
 118  
 
 119  
     @Override
 120  
     public String getTypeName() {
 121  0
         return typeName;
 122  
     }
 123  
 
 124  
     public void setTypeName(String typeName) {
 125  0
         this.typeName = typeName;
 126  0
     }
 127  
 
 128  
     @Override
 129  
     public String getStateName() {
 130  0
         return stateName;
 131  
     }
 132  
 
 133  
     public void setStateName(String stateName) {
 134  0
         this.stateName = stateName;
 135  0
     }
 136  
 
 137  
     @Override
 138  
     public String getCourseOfferingTitle() {
 139  0
         return courseOfferingTitle;
 140  
     }
 141  
 
 142  
     public void setCourseOfferingTitle(String courseOfferingTitle) {
 143  0
         this.courseOfferingTitle = courseOfferingTitle;
 144  0
     }
 145  
 
 146  
     @Override
 147  
     public String getCourseOfferingCode() {
 148  0
         return courseOfferingCode;
 149  
     }
 150  
 
 151  
     public void setCourseOfferingCode(String courseOfferingCode) {
 152  0
         this.courseOfferingCode = courseOfferingCode;
 153  0
     }
 154  
 
 155  
     @Override
 156  
     public String getFormatOfferingId() {
 157  0
         return formatOfferingId;
 158  
     }
 159  
 
 160  
     public void setFormatOfferingId(String formatOfferingId) {
 161  0
         this.formatOfferingId = formatOfferingId;
 162  0
     }
 163  
 
 164  
     @Override
 165  
     public String getFormatOfferingName() {
 166  0
         return formatOfferingName;
 167  
     }
 168  
 
 169  
     public void setFormatOfferingName(String formatOfferingName) {
 170  0
         this.formatOfferingName = formatOfferingName;
 171  0
     }
 172  
 
 173  
     @Override
 174  
     public String getActivityOfferingCode() {
 175  0
         return activityOfferingCode;
 176  
     }
 177  
 
 178  
     public void setActivityOfferingCode(String activityOfferingCode) {
 179  0
         this.activityOfferingCode = activityOfferingCode;
 180  0
     }
 181  
 
 182  
     @Override
 183  
     public String getInstructorId() {
 184  0
         return instructorId;
 185  
     }
 186  
 
 187  
     public void setInstructorId(String instructorId) {
 188  0
         this.instructorId = instructorId;
 189  0
     }
 190  
 
 191  
     @Override
 192  
     public String getInstructorName() {
 193  0
         return instructorName;
 194  
     }
 195  
 
 196  
     public void setInstructorName(String instructorName) {
 197  0
         this.instructorName = instructorName;
 198  0
     }
 199  
 
 200  
     @Override
 201  
     public String getScheduleWeekdays() {
 202  0
         return scheduleWeekdays;
 203  
     }
 204  
 
 205  
     public void setScheduleWeekdays(String scheduleWeekdays) {
 206  0
         this.scheduleWeekdays = scheduleWeekdays;
 207  0
     }
 208  
 
 209  
     @Override
 210  
     public String getScheduleTime() {
 211  0
         return scheduleTime;
 212  
     }
 213  
 
 214  
     public void setScheduleTime(String scheduleTime) {
 215  0
         this.scheduleTime = scheduleTime;
 216  0
     }
 217  
 }