Mercurial > dive4elements > framework
view 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 |
line wrap: on
line source
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 :