Cumulus4j API
(1.1.1)

org.cumulus4j.keymanager.front.shared
Class User

java.lang.Object
  extended by org.cumulus4j.keymanager.front.shared.User
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UserWithPassword

public class User
extends Object
implements Serializable

DTO representing a user.

Author:
Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de
See Also:
Serialized Form

Constructor Summary
User()
          Create an empty User instance.
User(String userName)
          Create a User instance with a userName.
 
Method Summary
 String getUserName()
          Get the user's name (as used for log-in).
 void setUserName(String userName)
          Set the user's name (as used for log-in).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

User

public User()
Create an empty User instance.


User

public User(String userName)
Create a User instance with a userName.

Parameters:
userName - the user's name (as used for log-in).
Method Detail

getUserName

public String getUserName()
Get the user's name (as used for log-in).

Returns:
the user's name.

setUserName

public void setUserName(String userName)
Set the user's name (as used for log-in).

Parameters:
userName - the user's name.

Cumulus4j API
(1.1.1)

Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.