Coverage Report - org.kuali.student.enrollment.lpr.dto.LprRosterInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
LprRosterInfo
0%
0/19
0%
0/2
1.1
 
 1  
 package org.kuali.student.enrollment.lpr.dto;
 2  
 
 3  
 import java.io.Serializable;
 4  
 import java.util.ArrayList;
 5  
 import java.util.List;
 6  
 
 7  
 import javax.xml.bind.annotation.XmlAccessType;
 8  
 import javax.xml.bind.annotation.XmlAccessorType;
 9  
 import javax.xml.bind.annotation.XmlAnyElement;
 10  
 import javax.xml.bind.annotation.XmlElement;
 11  
 import javax.xml.bind.annotation.XmlType;
 12  
 
 13  
 import org.kuali.student.enrollment.lpr.infc.LprRoster;
 14  
 import org.kuali.student.r2.common.dto.IdEntityInfo;
 15  
 import org.kuali.student.r2.common.dto.TimeAmountInfo;
 16  
 import org.w3c.dom.Element;
 17  
 
 18  
 /**
 19  
  *
 20  
  * 
 21  
  * @author Kuali Student Team (sambit)
 22  
  */
 23  
 
 24  
 @XmlAccessorType(XmlAccessType.FIELD)
 25  
 @XmlType(name = "LprRosterInfo", propOrder = {"id", "typeKey", "stateKey", "name", "descr", "associatedLuiIds",
 26  
         "maximumCapacity", "checkInRequired", "checkInFrequency", "meta", "attributes", "_futureElements"})
 27  
         
 28  
 public class LprRosterInfo extends IdEntityInfo implements LprRoster, Serializable {
 29  
 
 30  
     private static final long serialVersionUID = 1L;
 31  
 
 32  
     @XmlElement
 33  
     private List<String> associatedLuiIds;
 34  
 
 35  
     @XmlElement
 36  
     private Integer maximumCapacity;
 37  
 
 38  
     @XmlElement
 39  
     private Boolean checkInRequired;
 40  
 
 41  
     @XmlElement
 42  
     private TimeAmountInfo checkInFrequency;
 43  
 
 44  
     @XmlAnyElement
 45  
     private List<Element> _futureElements;
 46  
 
 47  0
     public LprRosterInfo() {
 48  0
         this.associatedLuiIds = null;
 49  0
     }
 50  
 
 51  0
     public LprRosterInfo(LprRoster lprRoster) {
 52  0
         if (lprRoster != null) {
 53  0
             this.associatedLuiIds = new ArrayList<String>(lprRoster.getAssociatedLuiIds());
 54  
         }
 55  0
     }
 56  
 
 57  
     @Override
 58  
     public Boolean getCheckInRequired() {
 59  0
         return checkInRequired;
 60  
     }
 61  
 
 62  
     public void setCheckInRequired(Boolean checkInRequired) {
 63  0
         this.checkInRequired = checkInRequired;
 64  0
     }
 65  
 
 66  
     @Override
 67  
     public TimeAmountInfo getCheckInFrequency() {
 68  0
         return checkInFrequency;
 69  
     }
 70  
 
 71  
     public void setCheckInFrequency(TimeAmountInfo checkInFrequency) {
 72  0
         this.checkInFrequency = checkInFrequency;
 73  0
     }
 74  
 
 75  
     @Override
 76  
     public List<String> getAssociatedLuiIds() {
 77  0
         return this.associatedLuiIds;
 78  
     }
 79  
 
 80  
     public void setAssociatedLuiIds(List<String> associatedLuiIds) {
 81  0
         this.associatedLuiIds = associatedLuiIds;
 82  0
     }
 83  
 
 84  
     public void setMaximumCapacity(Integer maximumCapacity) {
 85  0
         this.maximumCapacity = maximumCapacity;
 86  0
     }
 87  
 
 88  
     @Override
 89  
     public Integer getMaximumCapacity() {
 90  0
         return maximumCapacity;
 91  
     }
 92  
 
 93  
 }