001/**
002 * Copyright 2005-2016 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 */
016package edu.sampleu.demo.kitchensink;
017
018import org.kuali.rice.krad.web.form.UifFormBase;
019
020import java.util.ArrayList;
021import java.util.Date;
022import java.util.List;
023
024public class TrainingApplicationForm extends UifFormBase {
025    private static final long serialVersionUID = -7525378097732916419L;
026
027    private String term;
028    private String college;
029    private String campus;
030
031    private String firstName;
032    private String lastName;
033    private String email;
034    private String gender;
035    private Date dob;
036    private boolean emailList;
037    private List<String> ethnicity = new ArrayList<String>();
038    private String otherEthnicity;
039
040    private String address1;
041    private String address2;
042    private String city;
043    private String state;
044    private String zip;
045
046    private List<TrainingApplicationReference> references = new ArrayList<TrainingApplicationReference>();
047
048    private List<TrainingApplicationPreviousEducation> previousEducation = new ArrayList<TrainingApplicationPreviousEducation>();
049
050    public String getTerm() {
051        return term;
052    }
053
054    public void setTerm(String term) {
055        this.term = term;
056    }
057
058    public String getCollege() {
059        return college;
060    }
061
062    public void setCollege(String college) {
063        this.college = college;
064    }
065
066    public String getCampus() {
067        return campus;
068    }
069
070    public void setCampus(String campus) {
071        this.campus = campus;
072    }
073
074    public String getFirstName() {
075        return firstName;
076    }
077
078    public void setFirstName(String firstName) {
079        this.firstName = firstName;
080    }
081
082    public String getLastName() {
083        return lastName;
084    }
085
086    public void setLastName(String lastName) {
087        this.lastName = lastName;
088    }
089
090    public String getEmail() {
091        return email;
092    }
093
094    public void setEmail(String email) {
095        this.email = email;
096    }
097
098    public String getGender() {
099        return gender;
100    }
101
102    public void setGender(String gender) {
103        this.gender = gender;
104    }
105
106    public Date getDob() {
107        return dob;
108    }
109
110    public void setDob(Date dob) {
111        this.dob = dob;
112    }
113
114    public boolean isEmailList() {
115        return emailList;
116    }
117
118    public List<String> getEthnicity() {
119        return ethnicity;
120    }
121
122    public void setEthnicity(List<String> ethnicity) {
123        this.ethnicity = ethnicity;
124    }
125
126    public String getOtherEthnicity() {
127        return otherEthnicity;
128    }
129
130    public void setOtherEthnicity(String otherEthnicity) {
131        this.otherEthnicity = otherEthnicity;
132    }
133
134    public void setEmailList(boolean emailList) {
135        this.emailList = emailList;
136    }
137
138    public String getAddress1() {
139        return address1;
140    }
141
142    public void setAddress1(String address1) {
143        this.address1 = address1;
144    }
145
146    public String getAddress2() {
147        return address2;
148    }
149
150    public void setAddress2(String address2) {
151        this.address2 = address2;
152    }
153
154    public String getCity() {
155        return city;
156    }
157
158    public void setCity(String city) {
159        this.city = city;
160    }
161
162    public String getState() {
163        return state;
164    }
165
166    public void setState(String state) {
167        this.state = state;
168    }
169
170    public String getZip() {
171        return zip;
172    }
173
174    public void setZip(String zip) {
175        this.zip = zip;
176    }
177
178    public List<TrainingApplicationReference> getReferences() {
179        return references;
180    }
181
182    public void setReferences(List<TrainingApplicationReference> references) {
183        this.references = references;
184    }
185
186    public List<TrainingApplicationPreviousEducation> getPreviousEducation() {
187        return previousEducation;
188    }
189
190    public void setPreviousEducation(List<TrainingApplicationPreviousEducation> previousEducation) {
191        this.previousEducation = previousEducation;
192    }
193}