View Javadoc

1   /**
2    * Copyright 2013 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 Charles on 4/23/13
16   */
17  package org.kuali.student.enrollment.class2.courseoffering.form;
18  
19  import org.kuali.rice.krad.web.form.UifFormBase;
20  import org.kuali.student.enrollment.class2.courseoffering.dto.ManageSOCStatusHistory;
21  import org.kuali.student.enrollment.courseofferingset.dto.SocInfo;
22  import org.kuali.student.r2.core.acal.dto.TermInfo;
23  
24  import java.util.List;
25  
26  /**
27   * This class provides a form for the Create Soc ui
28   *
29   * @author Kuali Student Team
30   */
31  public class CreateSocForm  extends UifFormBase {
32      private String socTermCode;
33      private TermInfo termInfo;
34      private SocInfo socInfo;
35      private boolean termAlreadyHasSoc;
36      private String socMessage = "";
37  
38      public CreateSocForm(){
39          socTermCode = "";
40          _resetForm();
41      }
42  
43      public String getSocMessage() {
44          return socMessage;
45      }
46  
47      public void setSocMessage(String socMessage) {
48          this.socMessage = socMessage;
49      }
50  
51      private void _resetForm() {
52          // TODO
53      }
54  
55      public String getSocTermCode() {
56          return socTermCode;
57      }
58  
59      public void setSocTermCode(String socTermCode) {
60          this.socTermCode = socTermCode;
61      }
62  
63      public TermInfo getTermInfo() {
64          return termInfo;
65      }
66  
67      public void setTermInfo(TermInfo termInfo) {
68          this.termInfo = termInfo;
69      }
70  
71      public SocInfo getSocInfo() {
72          return socInfo;
73      }
74  
75      public void setSocInfo(SocInfo socInfo) {
76          this.socInfo = socInfo;
77      }
78  
79      public void setTermAlreadyHasSoc(boolean b) {
80          this.termAlreadyHasSoc = b;
81      }
82  
83      public boolean getTermAlreadyHasSoc() {
84          return termAlreadyHasSoc;
85      }
86  }