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.kitchensink;
17  
18  import org.kuali.rice.krad.web.form.UifFormBase;
19  
20  import java.util.ArrayList;
21  import java.util.Date;
22  import java.util.List;
23  
24  public class TrainingApplicationForm extends UifFormBase {
25      private static final long serialVersionUID = -7525378097732916419L;
26  
27      private String term;
28      private String college;
29      private String campus;
30  
31      private String firstName;
32      private String lastName;
33      private String email;
34      private String gender;
35      private Date dob;
36      private boolean emailList;
37      private List<String> ethnicity = new ArrayList<String>();
38      private String otherEthnicity;
39  
40      private String address1;
41      private String address2;
42      private String city;
43      private String state;
44      private String zip;
45  
46      private List<TrainingApplicationReference> references = new ArrayList<TrainingApplicationReference>();
47  
48      private List<TrainingApplicationPreviousEducation> previousEducation = new ArrayList<TrainingApplicationPreviousEducation>();
49  
50      public String getTerm() {
51          return term;
52      }
53  
54      public void setTerm(String term) {
55          this.term = term;
56      }
57  
58      public String getCollege() {
59          return college;
60      }
61  
62      public void setCollege(String college) {
63          this.college = college;
64      }
65  
66      public String getCampus() {
67          return campus;
68      }
69  
70      public void setCampus(String campus) {
71          this.campus = campus;
72      }
73  
74      public String getFirstName() {
75          return firstName;
76      }
77  
78      public void setFirstName(String firstName) {
79          this.firstName = firstName;
80      }
81  
82      public String getLastName() {
83          return lastName;
84      }
85  
86      public void setLastName(String lastName) {
87          this.lastName = lastName;
88      }
89  
90      public String getEmail() {
91          return email;
92      }
93  
94      public void setEmail(String email) {
95          this.email = email;
96      }
97  
98      public String getGender() {
99          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 }