View Javadoc

1   /**
2    * Copyright 2005-2013 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.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 implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package edu.sampleu.demo.registration;
17  
18  import edu.sampleu.demo.course.Course;
19  import org.kuali.rice.krad.web.form.UifFormBase;
20  
21  import java.util.ArrayList;
22  import java.util.HashMap;
23  import java.util.List;
24  import java.util.Map;
25  
26  /**
27   * @author Kuali Rice Team (rice.collab@kuali.org)
28   */
29  public class RegistrationForm extends UifFormBase {
30      private static final long serialVersionUID = 5758492647092249491L;
31  
32      private String registrationTerm;
33      private Integer registrationYear;
34  
35      private Map<String, String> criteriaFields;
36      private List<Course> courseListing;
37  
38      public RegistrationForm() {
39          super();
40  
41          criteriaFields = new HashMap<String, String>();
42          courseListing = new ArrayList<Course>();
43      }
44  
45      public String getRegistrationTerm() {
46          return registrationTerm;
47      }
48  
49      public void setRegistrationTerm(String registrationTerm) {
50          this.registrationTerm = registrationTerm;
51      }
52  
53      public Integer getRegistrationYear() {
54          return registrationYear;
55      }
56  
57      public void setRegistrationYear(Integer registrationYear) {
58          this.registrationYear = registrationYear;
59      }
60  
61      public Map<String, String> getCriteriaFields() {
62          return criteriaFields;
63      }
64  
65      public void setCriteriaFields(Map<String, String> criteriaFields) {
66          this.criteriaFields = criteriaFields;
67      }
68  
69      public List<Course> getCourseListing() {
70          return courseListing;
71      }
72  
73      public void setCourseListing(List<Course> courseListing) {
74          this.courseListing = courseListing;
75      }
76  }