1 /**
2 * Copyright 2011 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 package org.kuali.mobility.people.entity;
16
17 import java.util.List;
18
19 /**
20 * An interface for a person
21 * @author Kuali Mobility Team (mobility.collab@kuali.org)
22 * @since
23 */
24 public interface Person extends DirectoryEntry {
25
26 /**
27 * Gets the Hashed user name.
28 * @return Hashed user name.
29 */
30 public String getHashedUserName();
31
32 /**
33 * Gets the firstname.
34 * @return Firstname
35 */
36 public String getFirstName();
37
38 /**
39 * Sets the firstname
40 * @param firstName Firstname.
41 */
42 public void setFirstName(String firstName);
43
44 /**
45 * Gets the Last name
46 * @return Last name
47 */
48 public String getLastName();
49
50 /**
51 * Sets the last name
52 * @param lastName Last name
53 */
54 public void setLastName(String lastName);
55
56 /**
57 * Gets the username
58 * @return
59 */
60 public String getUserName();
61
62 /**
63 *
64 * @param userName
65 */
66 public void setUserName(String userName);
67
68 /**
69 *
70 * @return
71 */
72 public String getDisplayName();
73
74 /**
75 *
76 * @param displayName
77 */
78 public void setDisplayName(String displayName);
79
80 /**
81 *
82 * @return
83 */
84 public String getEmail();
85
86 /**
87 *
88 * @param email
89 */
90 public void setEmail(String email);
91
92 /**
93 *
94 * @return
95 */
96 public String getPhone();
97
98 /**
99 *
100 * @param phone
101 */
102 public void setPhone(String phone);
103
104 /**
105 *
106 * @return
107 */
108 public String getAddress();
109
110 /**
111 *
112 * @param address
113 */
114 public void setAddress(String address);
115
116 /**
117 *
118 * @return
119 */
120 public List<String> getLocations();
121
122 /**
123 *
124 * @param locations
125 */
126 public void setLocations(List<String> locations);
127
128 /**
129 *
130 * @return
131 */
132 public List<String> getAffiliations();
133
134 /**
135 *
136 * @param affiliations
137 */
138 public void setAffiliations(List<String> affiliations);
139
140 /**
141 *
142 * @return
143 */
144 public List<String> getDepartments();
145
146 /**
147 *
148 * @param departments
149 */
150 public void setDepartments(List<String> departments);
151
152 }