| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
package org.kuali.student.process.poc; |
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | 0 | public enum ProcessPocPersonEnum { |
| 12 | |
|
| 13 | 0 | STUDENT1(2272,"STDNT", "888030001", "student1", "kstone@kuali.edu", "student1", "kstone", true, "Biochemistry", "Kara", "Q", "Stone", "Female", "Ms.", "", "11 Walrus Circle", "West Newton", "MA", "02165", "1952-04-21", "2011-12-01"), |
| 14 | 0 | STUDENT2(2016, "STDNT", "888030002", "student2", "bharris@kuali.edu", "student2", "bharris", true, "Biology", "Barbara", "A", "Harris", "Female", "Ms.", "", "35 Penny Circle", "Boston", "MA", "02299", "1953-02-06", ""), |
| 15 | 0 | STUDENT3(2397, "STDNT", "888030003", "student3", "criddle@kuali.edu", "student3", "criddle", true, "Botany", "Clifford", "I", "Riddle", "Male", "Mr.", "", "59 Atlantis Avenue", "Lynnfield", "MA", "01940", "1935-12-23", ""), |
| 16 | 0 | STUDENT4(2166, "STDNT", "888030004", "student4", "nwelch@kuali.edu", "student4", "nwelch", true, "CareerServices", "Nina", "X", "Welch", "Female", "Ms.", "", "66 Gina Circle", "East Boston", "MA", "02128", "1966-05-07", ""), |
| 17 | 0 | STUDENT5(2005, "STDNT", "888030005", "student5", "bmartin@kuali.edu", "student5", "bmartin", true, "Chemical", "Betty", "J", "Martin", "Female", "Ms.", "", "141 East 48th Avenue", "Boston", "MA", "02233", "1950-06-15", ""), |
| 18 | |
|
| 19 | |
|
| 20 | 0 | STUDENT8(2155, "STDNT", "888030008", "student8", "ahopkins@kuali.edu", "student8", "ahopkins", true, "CompSci", "Amber", "D", "Hopkins", "Female", "Ms.", "", "178 Johnny Drive", "Boylston", "MA", "01505", "1941-03-14", ""), |
| 21 | 0 | STUDENT9(2374, "STDNT", "888030009", "student9", "jmanning@kuali.edu", "student9", "jmanning", true, "CrimCrimJus", "Johnny", "F", "Manning", "Male", "Mr.", "", "85 Rosella Street", "Brockton", "MA", "02401", "1943-03-19", ""), |
| 22 | 0 | STUDENT10(2406, "STDNT", "", "student10", "epittman@kuali.edu", "student10", "epittman", true, "Economics", "Eddie", "S", "Pittman", "Male", "Mr.", "", "178 Hazen Lane", "North Easton", "MA", "02356", "1949-11-23", ""), |
| 23 | 0 | STUDENT11(2132, "STDNT", "888030011", "student11", "tburton@kuali.edu", "student11", "tburton", true, "English", "Tracy", "P", "Burton", "Female", "Ms.", "", "154 North Bunn Street", "Winchester", "MA", "01890", "1945-05-25", ""); |
| 24 | |
private int personId; |
| 25 | |
private String affiliation; |
| 26 | |
private String ssn; |
| 27 | |
private String principalId; |
| 28 | |
private String principalName; |
| 29 | |
private String entityId; |
| 30 | |
private String password; |
| 31 | |
private boolean active; |
| 32 | |
private String dept; |
| 33 | |
private String firstName; |
| 34 | |
private String middleName; |
| 35 | |
private String lastName; |
| 36 | |
private String gender; |
| 37 | |
private String title; |
| 38 | |
private String suffix; |
| 39 | |
private String street; |
| 40 | |
private String city; |
| 41 | |
private String state; |
| 42 | |
private String zip; |
| 43 | |
private String birthDate; |
| 44 | |
private String deceasedDate; |
| 45 | |
|
| 46 | |
private ProcessPocPersonEnum(int personId, |
| 47 | |
String affiliation, |
| 48 | |
String ssn, |
| 49 | |
String principalId, |
| 50 | |
String principalName, |
| 51 | |
String entityId, |
| 52 | |
String password, |
| 53 | |
boolean active, |
| 54 | |
String dept, |
| 55 | |
String firstName, |
| 56 | |
String middleName, |
| 57 | |
String lastName, |
| 58 | |
String gender, |
| 59 | |
String title, |
| 60 | |
String suffix, |
| 61 | |
String street, |
| 62 | |
String city, |
| 63 | |
String state, |
| 64 | |
String zip, |
| 65 | |
String birthDate, |
| 66 | 0 | String deceasedDate) { |
| 67 | 0 | this.personId = personId; |
| 68 | 0 | this.affiliation = affiliation; |
| 69 | 0 | this.ssn = ssn; |
| 70 | 0 | this.principalId = principalId; |
| 71 | 0 | this.principalName = principalName; |
| 72 | 0 | this.entityId = entityId; |
| 73 | 0 | this.password = password; |
| 74 | 0 | this.active = active; |
| 75 | 0 | this.dept = dept; |
| 76 | 0 | this.firstName = firstName; |
| 77 | 0 | this.middleName = middleName; |
| 78 | 0 | this.lastName = lastName; |
| 79 | 0 | this.gender = gender; |
| 80 | 0 | this.title = title; |
| 81 | 0 | this.suffix = suffix; |
| 82 | 0 | this.street = street; |
| 83 | 0 | this.city = city; |
| 84 | 0 | this.state = state; |
| 85 | 0 | this.zip = zip; |
| 86 | 0 | this.birthDate = birthDate; |
| 87 | 0 | this.deceasedDate = deceasedDate; |
| 88 | 0 | } |
| 89 | |
|
| 90 | |
public int getPersonId() { |
| 91 | 0 | return personId; |
| 92 | |
} |
| 93 | |
|
| 94 | |
public void setPersonId(int personId) { |
| 95 | 0 | this.personId = personId; |
| 96 | 0 | } |
| 97 | |
|
| 98 | |
|
| 99 | |
|
| 100 | |
public boolean isActive() { |
| 101 | 0 | return active; |
| 102 | |
} |
| 103 | |
|
| 104 | |
public void setActive(boolean active) { |
| 105 | 0 | this.active = active; |
| 106 | 0 | } |
| 107 | |
|
| 108 | |
public String getDept() { |
| 109 | 0 | return dept; |
| 110 | |
} |
| 111 | |
|
| 112 | |
public void setDept(String dept) { |
| 113 | 0 | this.dept = dept; |
| 114 | 0 | } |
| 115 | |
|
| 116 | |
public String getAffiliation() { |
| 117 | 0 | return affiliation; |
| 118 | |
} |
| 119 | |
|
| 120 | |
public void setAffiliation(String affiliation) { |
| 121 | 0 | this.affiliation = affiliation; |
| 122 | 0 | } |
| 123 | |
|
| 124 | |
public String getEntityId() { |
| 125 | 0 | return entityId; |
| 126 | |
} |
| 127 | |
|
| 128 | |
public void setEntityId(String entityId) { |
| 129 | 0 | this.entityId = entityId; |
| 130 | 0 | } |
| 131 | |
|
| 132 | |
public String getFirstName() { |
| 133 | 0 | return firstName; |
| 134 | |
} |
| 135 | |
|
| 136 | |
public void setFirstName(String firstName) { |
| 137 | 0 | this.firstName = firstName; |
| 138 | 0 | } |
| 139 | |
|
| 140 | |
public String getGender() { |
| 141 | 0 | return gender; |
| 142 | |
} |
| 143 | |
|
| 144 | |
public void setGender(String gender) { |
| 145 | 0 | this.gender = gender; |
| 146 | 0 | } |
| 147 | |
|
| 148 | |
public String getLastName() { |
| 149 | 0 | return lastName; |
| 150 | |
} |
| 151 | |
|
| 152 | |
public void setLastName(String lastName) { |
| 153 | 0 | this.lastName = lastName; |
| 154 | 0 | } |
| 155 | |
|
| 156 | |
public String getMiddleName() { |
| 157 | 0 | return middleName; |
| 158 | |
} |
| 159 | |
|
| 160 | |
public void setMiddleName(String middleName) { |
| 161 | 0 | this.middleName = middleName; |
| 162 | 0 | } |
| 163 | |
|
| 164 | |
public String getPassword() { |
| 165 | 0 | return password; |
| 166 | |
} |
| 167 | |
|
| 168 | |
public void setPassword(String password) { |
| 169 | 0 | this.password = password; |
| 170 | 0 | } |
| 171 | |
|
| 172 | |
public String getPrincipalId() { |
| 173 | 0 | return principalId; |
| 174 | |
} |
| 175 | |
|
| 176 | |
public void setPrincipalId(String principalId) { |
| 177 | 0 | this.principalId = principalId; |
| 178 | 0 | } |
| 179 | |
|
| 180 | |
public String getPrincipalName() { |
| 181 | 0 | return principalName; |
| 182 | |
} |
| 183 | |
|
| 184 | |
public void setPrincipalName(String principalName) { |
| 185 | 0 | this.principalName = principalName; |
| 186 | 0 | } |
| 187 | |
|
| 188 | |
public String getSuffix() { |
| 189 | 0 | return suffix; |
| 190 | |
} |
| 191 | |
|
| 192 | |
public void setSuffix(String suffix) { |
| 193 | 0 | this.suffix = suffix; |
| 194 | 0 | } |
| 195 | |
|
| 196 | |
public String getTitle() { |
| 197 | 0 | return title; |
| 198 | |
} |
| 199 | |
|
| 200 | |
public void setTitle(String title) { |
| 201 | 0 | this.title = title; |
| 202 | 0 | } |
| 203 | |
|
| 204 | |
public String getCity() { |
| 205 | 0 | return city; |
| 206 | |
} |
| 207 | |
|
| 208 | |
public void setCity(String city) { |
| 209 | 0 | this.city = city; |
| 210 | 0 | } |
| 211 | |
|
| 212 | |
public String getState() { |
| 213 | 0 | return state; |
| 214 | |
} |
| 215 | |
|
| 216 | |
public void setState(String state) { |
| 217 | 0 | this.state = state; |
| 218 | 0 | } |
| 219 | |
|
| 220 | |
public String getStreet() { |
| 221 | 0 | return street; |
| 222 | |
} |
| 223 | |
|
| 224 | |
public void setStreet(String street) { |
| 225 | 0 | this.street = street; |
| 226 | 0 | } |
| 227 | |
|
| 228 | |
public String getZip() { |
| 229 | 0 | return zip; |
| 230 | |
} |
| 231 | |
|
| 232 | |
public void setZip(String zip) { |
| 233 | 0 | this.zip = zip; |
| 234 | 0 | } |
| 235 | |
|
| 236 | |
public String getSsn() { |
| 237 | 0 | return ssn; |
| 238 | |
} |
| 239 | |
|
| 240 | |
public void setSsn(String ssn) { |
| 241 | 0 | this.ssn = ssn; |
| 242 | 0 | } |
| 243 | |
|
| 244 | |
public String getBirthDate() { |
| 245 | 0 | return birthDate; |
| 246 | |
} |
| 247 | |
|
| 248 | |
public void setBirthDate(String birthDate) { |
| 249 | 0 | this.birthDate = birthDate; |
| 250 | 0 | } |
| 251 | |
|
| 252 | |
public String getDeceasedDate() { |
| 253 | 0 | return deceasedDate; |
| 254 | |
} |
| 255 | |
|
| 256 | |
public void setDeceasedDate(String deceasedDate) { |
| 257 | 0 | this.deceasedDate = deceasedDate; |
| 258 | 0 | } |
| 259 | |
|
| 260 | |
|
| 261 | |
|
| 262 | |
public String getFormattedName() { |
| 263 | 0 | StringBuilder bldr = new StringBuilder(); |
| 264 | 0 | bldr.append(firstName); |
| 265 | 0 | if (middleName != null) { |
| 266 | 0 | bldr.append(" "); |
| 267 | 0 | bldr.append(middleName); |
| 268 | |
} |
| 269 | 0 | bldr.append(" "); |
| 270 | 0 | bldr.append(lastName); |
| 271 | 0 | if (this.suffix != null) { |
| 272 | 0 | bldr.append(" "); |
| 273 | 0 | bldr.append(suffix); |
| 274 | |
} |
| 275 | 0 | return bldr.toString(); |
| 276 | |
} |
| 277 | |
} |