View Javadoc
1   /**
2    * Copyright 2014 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   * Created by dietrich on 2014/08/05
16   */
17  package org.kuali.student.enrollment.class1.hold.form;
18  
19  import org.kuali.rice.krad.web.form.UifFormBase;
20  import org.kuali.student.r2.core.hold.dto.HoldIssueInfo;
21  
22  import java.util.Date;
23  
24  /**
25   *
26   * @author Kuali Student Team
27   */
28  public class AppliedHoldResult extends UifFormBase {
29      private String id;
30      private String holdName;
31      private String code;
32      private String consequence;
33      private String typeKey;
34      private Date startDate;
35      private Date endDate;
36      private String startTerm;
37      private String endTerm;
38      private HoldIssueInfo holdIssue;
39  
40      private boolean isCheckedByCluster;
41  
42      private boolean enableExpireButton = true;
43      private boolean enableDeleteButton = true;
44  
45      public String getId() {
46          return id;
47      }
48  
49      public void setId(String id) {
50          this.id = id;
51      }
52  
53      public String getHoldName() {
54          return holdName;
55      }
56  
57      public void setHoldName(String holdName) {
58          this.holdName = holdName;
59      }
60  
61      public String getCode() {
62          return code;
63      }
64  
65      public void setCode(String code) {
66          this.code = code;
67      }
68  
69      public String getConsequence() {
70          return consequence;
71      }
72  
73      public void setConsequence(String consequence) {
74          this.consequence = consequence;
75      }
76  
77      public String getTypeKey() {
78          return typeKey;
79      }
80  
81      public void setTypeKey(String typeKey) {
82          this.typeKey = typeKey;
83      }
84  
85      public Date getStartDate() {
86          return startDate;
87      }
88  
89      public void setStartDate(Date startDate) {
90          this.startDate = startDate;
91      }
92  
93      public Date getEndDate() {
94          return endDate;
95      }
96  
97      public void setEndDate(Date endDate) {
98          this.endDate = endDate;
99      }
100 
101     public String getStartTerm() {
102         return startTerm;
103     }
104 
105     public void setStartTerm(String startTerm) {
106         this.startTerm = startTerm;
107     }
108 
109     public String getEndTerm() {
110         return endTerm;
111     }
112 
113     public void setEndTerm(String endTerm) {
114         this.endTerm = endTerm;
115     }
116 
117     public HoldIssueInfo getHoldIssue() {
118         return holdIssue;
119     }
120 
121     public void setHoldIssue(HoldIssueInfo holdIssue) {
122         this.holdIssue = holdIssue;
123     }
124 
125     public boolean getIsCheckedByCluster() {
126         return isCheckedByCluster;
127     }
128 
129     public void setIsCheckedByCluster(boolean checkedByCluster) {
130         isCheckedByCluster = checkedByCluster;
131     }
132 
133     public boolean isEnableExpireButton() {
134         return enableExpireButton;
135     }
136 
137     public void setEnableExpireButton(boolean enableExpireButton) {
138         this.enableExpireButton = enableExpireButton;
139     }
140 
141     public boolean isEnableDeleteButton() {
142         return enableDeleteButton;
143     }
144 
145     public void setEnableDeleteButton(boolean enableDeleteButton) {
146         this.enableDeleteButton = enableDeleteButton;
147     }
148 }