View Javadoc

1   /**
2    * Copyright 2010 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  
16  package org.kuali.student.r2.common.validator;
17  
18  import java.util.Date;
19  import java.util.List;
20  
21  public class ConstraintMockPerson {
22  
23  	protected String firstName;
24  	
25  	protected String lastName;
26  	
27  	protected String type;
28  	
29  	protected String state;
30  	
31  	protected String id;
32  	
33  	protected String email;
34  	
35  	protected Double gpa;
36  	
37  	protected Date dob;
38  	
39  	protected List<ConstraintMockAddress> address;
40  
41  	/**
42  	 * @return the firstName
43  	 */
44  	public String getFirstName() {
45  		return firstName;
46  	}
47  
48  	/**
49  	 * @param firstName the firstName to set
50  	 */
51  	public void setFirstName(String firstName) {
52  		this.firstName = firstName;
53  	}
54  
55  	/**
56  	 * @return the lastName
57  	 */
58  	public String getLastName() {
59  		return lastName;
60  	}
61  
62  	/**
63  	 * @param lastName the lastName to set
64  	 */
65  	public void setLastName(String lastName) {
66  		this.lastName = lastName;
67  	}
68  
69  	/**
70  	 * @return the type
71  	 */
72  	public String getType() {
73  		return type;
74  	}
75  
76  	/**
77  	 * @param type the type to set
78  	 */
79  	public void setType(String type) {
80  		this.type = type;
81  	}
82  
83  	/**
84  	 * @return the state
85  	 */
86  	public String getState() {
87  		return state;
88  	}
89  
90  	/**
91  	 * @param state the state to set
92  	 */
93  	public void setState(String state) {
94  		this.state = state;
95  	}
96  
97  	/**
98  	 * @return the id
99  	 */
100 	public String getId() {
101 		return id;
102 	}
103 
104 	/**
105 	 * @param id the id to set
106 	 */
107 	public void setId(String id) {
108 		this.id = id;
109 	}
110 
111 	/**
112 	 * @return the email
113 	 */
114 	public String getEmail() {
115 		return email;
116 	}
117 
118 	/**
119 	 * @param email the email to set
120 	 */
121 	public void setEmail(String email) {
122 		this.email = email;
123 	}
124 
125 	/**
126 	 * @return the address
127 	 */
128 	public List<ConstraintMockAddress> getAddress() {
129 		return address;
130 	}
131 
132 	/**
133 	 * @param address the address to set
134 	 */
135 	public void setAddress(List<ConstraintMockAddress> address) {
136 		this.address = address;
137 	}
138 
139 	/**
140 	 * @return the gpa
141 	 */
142 	public Double getGpa() {
143 		return gpa;
144 	}
145 
146 	/**
147 	 * @param gpa the gpa to set
148 	 */
149 	public void setGpa(Double gpa) {
150 		this.gpa = gpa;
151 	}
152 
153 	/**
154 	 * @return the dob
155 	 */
156 	public Date getDob() {
157 		return dob;
158 	}
159 
160 	/**
161 	 * @param dob the dob to set
162 	 */
163 	public void setDob(Date dob) {
164 		this.dob = dob;
165 	}	
166 }