Mercurial > dive4elements > framework
diff artifacts-common/src/main/java/org/dive4elements/artifacts/common/model/User.java @ 472:783cc1b6b615
Moved directories to org.dive4elements
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 10:53:15 +0200 |
parents | artifacts-common/src/main/java/de/intevation/artifacts/common/model/User.java@901f384ddad9 |
children | 415df0fc4fa1 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/artifacts-common/src/main/java/org/dive4elements/artifacts/common/model/User.java Thu Apr 25 10:53:15 2013 +0200 @@ -0,0 +1,43 @@ +package de.intevation.artifacts.common.model; + +import java.io.Serializable; + +/** + * An interface that describes a user of the system. + * + * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> + */ +public interface User extends Serializable { + + /** + * This method returns the firstname of the user. + * + * @return the firstname. + */ + public String getFirstName(); + + + /** + * Sets the user's firstname. + * + * @param firstName The user's firstname. + */ + public void setFirstName(String firstName); + + + /** + * This method returns the lastname of the user. + * + * @return the lastname. + */ + public String getLastName(); + + + /** + * Sets the user's lastname. + * + * @param lastName The user's lastname. + */ + public void setLastName(String lastName); +} +// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :