org.ow2.easybeans.component.hsqldb
Class User

java.lang.Object
  extended by org.ow2.easybeans.component.hsqldb.User

public class User
extends java.lang.Object

Class for the representation of a user with username and password.

Author:
Florent Benoit

Constructor Summary
User()
          Default constructor.
 
Method Summary
 java.lang.String getPassword()
           
 java.lang.String getUserName()
           
 void setPassword(java.lang.String password)
          Sets the password.
 void setUserName(java.lang.String userName)
          Sets the username.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

User

public User()
Default constructor.

Method Detail

getPassword

public java.lang.String getPassword()
Returns:
the password.

getUserName

public java.lang.String getUserName()
Returns:
the userName.

setPassword

public void setPassword(java.lang.String password)
Sets the password.

Parameters:
password - the given password

setUserName

public void setUserName(java.lang.String userName)
Sets the username.

Parameters:
userName - the given userName


Copyright © 2006-2009 OW2 Consortium. All Rights Reserved.