org.deegree.portal.owswatch.configs
Class User
java.lang.Object
org.deegree.portal.owswatch.configs.User
- All Implemented Interfaces:
- java.io.Serializable
public class User
- extends java.lang.Object
- implements java.io.Serializable
A Class to hold the information of an owsWatch user
- Version:
- $Revision: 20271 $, $Date: 2009-10-21 13:07:15 +0200 (Mi, 21 Okt 2009) $
- Author:
- Moataz Elmasry, last edited by: $Author: jmays $
- See Also:
- Serialized Form
Constructor Summary |
User(java.lang.String username,
java.lang.String password,
java.lang.String firstName,
java.lang.String lastName,
java.lang.String email,
java.util.List<java.lang.String> roles)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
User
public User(java.lang.String username,
java.lang.String password,
java.lang.String firstName,
java.lang.String lastName,
java.lang.String email,
java.util.List<java.lang.String> roles)
- Parameters:
username
- password
- firstName
- lastName
- email
- The email will be used to send error emails in case a service failedroles
- indicates whether a user is allowed to add/edit services, or just watch them
getEmail
public java.lang.String getEmail()
- Returns:
- String
getFirstName
public java.lang.String getFirstName()
- Returns:
- String
getLastName
public java.lang.String getLastName()
- Returns:
- String
getPassword
public java.lang.String getPassword()
- Returns:
- String
getRoles
public java.util.List<java.lang.String> getRoles()
- Returns:
- List
getUsername
public java.lang.String getUsername()
- Returns:
- String
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org