KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > projectmanagement > spec > employee > Employee


1 /*
2  * ProjectManagement
3  *
4  * Enhydra super-servlet specification object
5  *
6  */

7 package projectmanagement.spec.employee;
8
9 import projectmanagement.spec.ProjectManagementException;
10 import java.sql.Date JavaDoc;
11
12 public interface Employee {
13
14 public int getAuthLevel ();
15 public String JavaDoc getHandle()
16       throws ProjectManagementException;
17 public void setLogin(String JavaDoc login)
18       throws ProjectManagementException;
19 public String JavaDoc getLogin()
20       throws ProjectManagementException;
21 public void setPassword(String JavaDoc password)
22       throws ProjectManagementException;
23 public String JavaDoc getPassword()
24       throws ProjectManagementException;
25 public void setFirstName(String JavaDoc firstname)
26       throws ProjectManagementException;
27 public String JavaDoc getFirstName()
28       throws ProjectManagementException;
29 public void setLastName(String JavaDoc lastname)
30       throws ProjectManagementException;
31 public String JavaDoc getLastName()
32       throws ProjectManagementException;
33 public void setTitle(String JavaDoc title)
34       throws ProjectManagementException;
35 public String JavaDoc getTitle()
36       throws ProjectManagementException;
37 public void setTitleOfCourtesy(String JavaDoc titleOfCourtesy)
38       throws ProjectManagementException;
39 public String JavaDoc getTitleOfCourtesy()
40       throws ProjectManagementException;
41 public void setBirthDate(Date JavaDoc birthDate)
42       throws ProjectManagementException;
43 public Date JavaDoc getBirthDate()
44       throws ProjectManagementException;
45  public void setHireDate(Date JavaDoc hireDate)
46       throws ProjectManagementException;
47 public Date JavaDoc getHireDate()
48       throws ProjectManagementException;
49 public void setAddress(String JavaDoc address)
50       throws ProjectManagementException;
51 public String JavaDoc getAddress()
52       throws ProjectManagementException;
53 public void setCity(String JavaDoc city)
54       throws ProjectManagementException;
55 public String JavaDoc getCity()
56       throws ProjectManagementException;
57  public void setRegion(String JavaDoc region)
58       throws ProjectManagementException;
59 public String JavaDoc getRegion()
60       throws ProjectManagementException;
61 public void setPostalCode(String JavaDoc postalCode)
62       throws ProjectManagementException;
63 public String JavaDoc getPostalCode()
64       throws ProjectManagementException;
65 public void setCountry(String JavaDoc country)
66       throws ProjectManagementException;
67 public String JavaDoc getCountry()
68       throws ProjectManagementException;
69 public void setHomePhone(String JavaDoc homePhone)
70       throws ProjectManagementException;
71 public String JavaDoc getHomePhone()
72       throws ProjectManagementException;
73 public void setMobilePhone(String JavaDoc mobilePhone)
74       throws ProjectManagementException;
75 public String JavaDoc getMobilePhone()
76       throws ProjectManagementException;
77 public void setEmail(String JavaDoc email)
78       throws ProjectManagementException;
79 public String JavaDoc getEmail()
80       throws ProjectManagementException;
81 public void setNotes(String JavaDoc notes)
82       throws ProjectManagementException;
83 public String JavaDoc getNotes()
84       throws ProjectManagementException;
85 public void setIsAdmin(boolean isAdmin)
86       throws ProjectManagementException;
87 public boolean getIsAdmin()
88       throws ProjectManagementException;
89 public void save() throws ProjectManagementException;
90 public void delete() throws ProjectManagementException;
91                 
92 }
Popular Tags