001 /**
002 * Copyright 2005-2012 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016 package edu.sampleu.demo.registration;
017
018 import edu.sampleu.demo.course.Course;
019 import org.kuali.rice.krad.web.form.UifFormBase;
020
021 import java.util.ArrayList;
022 import java.util.HashMap;
023 import java.util.List;
024 import java.util.Map;
025
026 /**
027 * @author Kuali Rice Team (rice.collab@kuali.org)
028 */
029 public class RegistrationForm extends UifFormBase {
030 private static final long serialVersionUID = 5758492647092249491L;
031
032 private String registrationTerm;
033 private Integer registrationYear;
034
035 private Map<String, String> criteriaFields;
036 private List<Course> courseListing;
037
038 public RegistrationForm() {
039 super();
040
041 criteriaFields = new HashMap<String, String>();
042 courseListing = new ArrayList<Course>();
043 }
044
045 public String getRegistrationTerm() {
046 return registrationTerm;
047 }
048
049 public void setRegistrationTerm(String registrationTerm) {
050 this.registrationTerm = registrationTerm;
051 }
052
053 public Integer getRegistrationYear() {
054 return registrationYear;
055 }
056
057 public void setRegistrationYear(Integer registrationYear) {
058 this.registrationYear = registrationYear;
059 }
060
061 public Map<String, String> getCriteriaFields() {
062 return criteriaFields;
063 }
064
065 public void setCriteriaFields(Map<String, String> criteriaFields) {
066 this.criteriaFields = criteriaFields;
067 }
068
069 public List<Course> getCourseListing() {
070 return courseListing;
071 }
072
073 public void setCourseListing(List<Course> courseListing) {
074 this.courseListing = courseListing;
075 }
076 }