Source code: com/clra/visitor/ApplicantSnapshot.java
1 /*
2 * Copyright (c) Carnegie Lake Rowing Association 2002. All rights reserved.
3 * Distributed under the GPL license. See doc/COPYING.
4 * $RCSfile: ApplicantSnapshot.java,v $
5 * $Date: 2003/02/26 03:38:46 $
6 * $Revision: 1.4 $
7 */
8
9 package com.clra.visitor;
10
11 import com.clra.util.ISerializableComparator;
12 import java.io.Serializable;
13 import java.rmi.RemoteException;
14 import java.util.Date;
15 import javax.ejb.EJBObject;
16 import javax.ejb.RemoveException;
17
18 /**
19 * @author <a href="mailto:donaldzhu@sympatico.ca">Angela Yue</a>
20 */
21 public class ApplicantSnapshot implements Comparable, Serializable {
22
23 private String lastname = null;
24 private String firstname = null;
25 private String middlename = null;
26 private String suffix = null;
27 private String email = null;
28 private String eveningtel = null;
29 private String daytel = null;
30 private String othertel = null;
31 private String addrstr1 = null;
32 private String addrstr2 = null;
33 private String city = null;
34 private String state = null;
35 private String zip = null;
36 private String experienceyear = null;
37 private String recentyear = null;
38 private Date birthday = null;
39 private String sex = null;
40 private Date applydate = null;
41 private String status = null;
42 private int hashCode;
43
44 public ApplicantSnapshot(String nlast,
45 String nfirst,
46 String nmiddle,
47 String nsuffix,
48 String mail,
49 String tel_evening,
50 String tel_day,
51 String tel_other,
52 String addr_str1,
53 String addr_str2,
54 String addr_city,
55 String addr_state,
56 String addr_zip,
57 String experience_year,
58 String recent_year,
59 Date birth,
60 String sex,
61 Date apply_date,
62 String status) {
63
64 this.lastname = nlast;
65 this.firstname = nfirst;
66 this.middlename = nmiddle;
67 this.suffix = nsuffix;
68 this.email = mail;
69 this.eveningtel = tel_evening;
70 this.daytel = tel_day;
71 this.othertel = tel_other;
72 this.addrstr1 = addr_str1;
73 this.addrstr2 = addr_str2;
74 this.city = addr_city;
75 this.state = addr_state;
76 this.zip = addr_zip;
77 this.experienceyear = experience_year;
78 this.recentyear = recent_year;
79 this.birthday = birth;
80 this.sex = sex;
81 this.applydate = apply_date;
82 this.status = status;
83 this.hashCode = mail.hashCode();
84 }
85
86 public String getFirstname() {
87 return firstname;
88 }
89
90 public String getLastname() {
91 return lastname;
92 }
93
94 public String getMiddlename() {
95 return middlename;
96 }
97
98 public String getSuffix() {
99 return suffix;
100 }
101
102 public String getEveningtel() {
103 return eveningtel;
104 }
105
106 public String getDaytel() {
107 return daytel;
108 }
109
110 public String getOthertel() {
111 return othertel;
112 }
113
114 public String getEmail() {
115 return email;
116 }
117
118 public Date getBirthday() {
119 return birthday;
120 }
121
122 public String getAddrstr1() {
123 return addrstr1;
124 }
125
126 public String getAddrstr2() {
127 return addrstr2;
128 }
129
130 public String getCity() {
131 return city;
132 }
133
134 public String getState() {
135 return state;
136 }
137
138 public String getZip() {
139 return zip;
140 }
141
142 public String getExperienceyear() {
143 return experienceyear;
144 }
145
146 public String getRecentyear() {
147 return recentyear;
148 }
149
150 public String getSex() {
151 return sex;
152 }
153
154 public Date getApplydate() {
155 return applydate;
156 }
157
158 public String getStatus() {
159 return status;
160 }
161
162 public int hashCode() {
163 return this.hashCode;
164 }
165
166 public int compareTo( Object o ) {
167 return 0;
168 }
169
170 } // ApplicantSnapshot
171