org.marketcetera.client.users
Class UserInfo

java.lang.Object
  extended by org.marketcetera.client.users.UserInfo
All Implemented Interfaces:
Serializable

public class UserInfo
extends Object
implements Serializable

The web service representation of a user's information.

Since:
1.5.0
Version:
$Id: UserInfo.java 16154 2012-07-14 16:34:05Z colin $
Author:
tlerios@marketcetera.com
See Also:
Serialized Form

Constructor Summary
protected UserInfo()
          Creates a new status representation.
  UserInfo(String name, UserID id, boolean active, boolean superuser, Properties userdata, Properties systemdata)
          Creates a new user info representation, given the user information.
 
Method Summary
 boolean getActive()
          Returns the receiver's active flag.
 UserID getId()
          Returns the receiver's user ID.
 String getName()
          Returns the receiver's name.
 boolean getSuperuser()
          Returns the receiver's superuser flag.
 Properties getSystemData()
          Returns the receiver's system data.
 Properties getUserData()
          Returns the receiver's user data.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserInfo

public UserInfo(String name,
                UserID id,
                boolean active,
                boolean superuser,
                Properties userdata,
                Properties systemdata)
Creates a new user info representation, given the user information.

Parameters:
name - The user name.
id - The user ID.
active - The active flag.
superuser - The superuser flag.
userdata - The user data
systemdata - The system data

UserInfo

protected UserInfo()
Creates a new status representation. This empty constructor is intended for use by JAXB.

Method Detail

getName

public String getName()
Returns the receiver's name.

Returns:
The name.

getId

public UserID getId()
Returns the receiver's user ID.

Returns:
The ID.

getActive

public boolean getActive()
Returns the receiver's active flag.

Returns:
The flag.

getSuperuser

public boolean getSuperuser()
Returns the receiver's superuser flag.

Returns:
The flag.

getUserData

public Properties getUserData()
Returns the receiver's user data.

Returns:
The Properties.

getSystemData

public Properties getSystemData()
Returns the receiver's system data.

Returns:
The Properties.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.