1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.student.enrollment.courseseatcount.dto;
18
19 import org.kuali.student.enrollment.courseseatcount.infc.SeatCount;
20
21 import java.util.Date;
22
23
24
25
26
27
28
29 public class SeatCountInfo implements SeatCount {
30 private Date timestamp;
31 private String luiId;
32 private String luiTypeKey;
33
34 private Integer totalSeats;
35
36 private Integer usedSeats;
37 private Integer availableSeats;
38
39 private boolean hasWaitList;
40
41
42 private Integer maxWaitListSize;
43 private Integer waitListSize;
44
45
46 public Integer getMaxWaitListSize() {
47 return maxWaitListSize;
48 }
49
50 public void setMaxWaitListSize(Integer maxWaitListSize) {
51 this.maxWaitListSize = maxWaitListSize;
52 }
53
54 public Integer getWaitListSize() {
55 return waitListSize;
56 }
57
58 public void setWaitListSize(Integer waitListSize) {
59 this.waitListSize = waitListSize;
60 }
61
62 public boolean hasWaitList() {
63
64 return hasWaitList;
65 }
66
67 public void setHasWaitList(boolean hasWaitList) {
68 this.hasWaitList = hasWaitList;
69 }
70
71
72 @Override
73 public Integer getTotalSeats() {
74 return totalSeats;
75 }
76
77 @Override
78 public Integer getUsedSeats() {
79 return usedSeats;
80 }
81
82 @Override
83 public Integer getAvailableSeats() {
84 return availableSeats;
85 }
86
87 @Override
88 public Date getTimestamp() {
89 return timestamp;
90 }
91
92 @Override
93 public String getLuiId() {
94 return luiId;
95 }
96
97 @Override
98 public String getLuiTypeKey() {
99 return luiTypeKey;
100 }
101
102 public void setTotalSeats(Integer total) {
103 totalSeats = total;
104 }
105
106 public void setUsedSeats(Integer used) {
107 usedSeats = used;
108 }
109
110 public void setAvailableSeats(Integer available) {
111 availableSeats = available;
112 }
113
114 public void setLuiId(String luiId) {
115 this.luiId = luiId;
116 }
117
118 public void setLuiTypeKey(String luiTypeKey) {
119 this.luiTypeKey = luiTypeKey;
120 }
121
122 public void setTimestamp(Date timestamp) {
123 this.timestamp = timestamp;
124 }
125 }