View Javadoc

1   /*
2    * To change this template, choose Tools | Templates
3    * and open the template in the editor.
4    */
5   package org.kuali.student.r2.core.process;
6   
7   
8   /**
9    * @author nwright
10   */
11  public enum ProcessPocPersonEnum {
12  
13      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      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      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      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      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  //    STUDENT6(2126, "STDNT", "888030006", "student6", "nmcdonald@kuali.edu", "student6", "nmcdonald", true, "Chemistry", "Nellie", "N", "McDonald", "Female", "Ms.", "", "144 Scenic Drive", "Boston", "MA", "02295", "1952-12-02", ""),
19  //    STUDENT7(2006, "STDNT", "888030007", "student7", "kthompson@kuali.edu", "student7", "kthompson", true, "Civil", "Kimberly", "K", "Thompson", "Female", "Ms.", "", "163 Ziemlak Circle", "Lee", "MA", "01264", "1948-04-20", ""),
20      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      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      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      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              String deceasedDate) {
67          this.personId = personId;
68          this.affiliation = affiliation;
69          this.ssn = ssn;
70          this.principalId = principalId;
71          this.principalName = principalName;
72          this.entityId = entityId;
73          this.password = password;
74          this.active = active;
75          this.dept = dept;
76          this.firstName = firstName;
77          this.middleName = middleName;
78          this.lastName = lastName;
79          this.gender = gender;
80          this.title = title;
81          this.suffix = suffix;
82          this.street = street;
83          this.city = city;
84          this.state = state;
85          this.zip = zip;
86          this.birthDate = birthDate;
87          this.deceasedDate = deceasedDate;
88      }
89  
90      public int getPersonId() {
91          return personId;
92      }
93  
94      public void setPersonId(int personId) {
95          this.personId = personId;
96      }
97  
98      
99      
100     public boolean isActive() {
101         return active;
102     }
103 
104     public void setActive(boolean active) {
105         this.active = active;
106     }
107 
108     public String getDept() {
109         return dept;
110     }
111 
112     public void setDept(String dept) {
113         this.dept = dept;
114     }
115 
116     public String getAffiliation() {
117         return affiliation;
118     }
119 
120     public void setAffiliation(String affiliation) {
121         this.affiliation = affiliation;
122     }
123 
124     public String getEntityId() {
125         return entityId;
126     }
127 
128     public void setEntityId(String entityId) {
129         this.entityId = entityId;
130     }
131 
132     public String getFirstName() {
133         return firstName;
134     }
135 
136     public void setFirstName(String firstName) {
137         this.firstName = firstName;
138     }
139 
140     public String getGender() {
141         return gender;
142     }
143 
144     public void setGender(String gender) {
145         this.gender = gender;
146     }
147 
148     public String getLastName() {
149         return lastName;
150     }
151 
152     public void setLastName(String lastName) {
153         this.lastName = lastName;
154     }
155 
156     public String getMiddleName() {
157         return middleName;
158     }
159 
160     public void setMiddleName(String middleName) {
161         this.middleName = middleName;
162     }
163 
164     public String getPassword() {
165         return password;
166     }
167 
168     public void setPassword(String password) {
169         this.password = password;
170     }
171 
172     public String getPrincipalId() {
173         return principalId;
174     }
175 
176     public void setPrincipalId(String principalId) {
177         this.principalId = principalId;
178     }
179 
180     public String getPrincipalName() {
181         return principalName;
182     }
183 
184     public void setPrincipalName(String principalName) {
185         this.principalName = principalName;
186     }
187 
188     public String getSuffix() {
189         return suffix;
190     }
191 
192     public void setSuffix(String suffix) {
193         this.suffix = suffix;
194     }
195 
196     public String getTitle() {
197         return title;
198     }
199 
200     public void setTitle(String title) {
201         this.title = title;
202     }
203 
204     public String getCity() {
205         return city;
206     }
207 
208     public void setCity(String city) {
209         this.city = city;
210     }
211 
212     public String getState() {
213         return state;
214     }
215 
216     public void setState(String state) {
217         this.state = state;
218     }
219 
220     public String getStreet() {
221         return street;
222     }
223 
224     public void setStreet(String street) {
225         this.street = street;
226     }
227 
228     public String getZip() {
229         return zip;
230     }
231 
232     public void setZip(String zip) {
233         this.zip = zip;
234     }
235 
236     public String getSsn() {
237         return ssn;
238     }
239 
240     public void setSsn(String ssn) {
241         this.ssn = ssn;
242     }
243 
244     public String getBirthDate() {
245         return birthDate;
246     }
247 
248     public void setBirthDate(String birthDate) {
249         this.birthDate = birthDate;
250     }
251 
252     public String getDeceasedDate() {
253         return deceasedDate;
254     }
255 
256     public void setDeceasedDate(String deceasedDate) {
257         this.deceasedDate = deceasedDate;
258     }
259 
260     
261     
262     public String getFormattedName() {
263         StringBuilder bldr = new StringBuilder();
264         bldr.append(firstName);
265         if (middleName != null) {
266             bldr.append(" ");
267             bldr.append(middleName);
268         }
269         bldr.append(" ");
270         bldr.append(lastName);
271         if (this.suffix != null) {
272             bldr.append(" ");
273             bldr.append(suffix);
274         }
275         return bldr.toString();
276     }
277 }