Mercurial > dive4elements > framework
comparison artifacts-common/src/main/java/de/intevation/artifacts/common/model/User.java @ 111:901f384ddad9
Added an interface and its default implementation for a User.
artifacts/trunk@1307 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 10 Feb 2011 07:36:51 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
110:33271242e303 | 111:901f384ddad9 |
---|---|
1 package de.intevation.artifacts.common.model; | |
2 | |
3 import java.io.Serializable; | |
4 | |
5 /** | |
6 * An interface that describes a user of the system. | |
7 * | |
8 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
9 */ | |
10 public interface User extends Serializable { | |
11 | |
12 /** | |
13 * This method returns the firstname of the user. | |
14 * | |
15 * @return the firstname. | |
16 */ | |
17 public String getFirstName(); | |
18 | |
19 | |
20 /** | |
21 * Sets the user's firstname. | |
22 * | |
23 * @param firstName The user's firstname. | |
24 */ | |
25 public void setFirstName(String firstName); | |
26 | |
27 | |
28 /** | |
29 * This method returns the lastname of the user. | |
30 * | |
31 * @return the lastname. | |
32 */ | |
33 public String getLastName(); | |
34 | |
35 | |
36 /** | |
37 * Sets the user's lastname. | |
38 * | |
39 * @param lastName The user's lastname. | |
40 */ | |
41 public void setLastName(String lastName); | |
42 } | |
43 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |