common
Class Account

java.lang.Object
  extended by common.Account

public class Account
extends Object

A Teamshare user. Other users have access/create the User object of that user, not the Account.


Field Summary
 List<Device> devices
          The devices the user has linked into the system.
 String email
          The user's email address, the one for receiving notifications.
 List<Group> groups
          The groups the user is member of.
 Mailbox mailbox
          A reference to the user's mailbox, a repository that stores and retrieves the user's messages.
 List<Group> owner
          The groups the user is owner of (it is a subset of groups).
 String personalInfo
          User's personal information, not having a major role in the application yet so is not defined at this level.
 long userID
          The user's unique identifier.
 String username
          The user's username.
 
Constructor Summary
Account()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userID

public long userID
The user's unique identifier. The identifier is not visible through the user interface.


username

public String username
The user's username. The username the one visible to other users through an user interface. Similar to the userID, it is unique.


email

public String email
The user's email address, the one for receiving notifications. Two users cannot have the same email address.


groups

public List<Group> groups
The groups the user is member of.


owner

public List<Group> owner
The groups the user is owner of (it is a subset of groups).


devices

public List<Device> devices
The devices the user has linked into the system.


personalInfo

public String personalInfo
User's personal information, not having a major role in the application yet so is not defined at this level.


mailbox

public Mailbox mailbox
A reference to the user's mailbox, a repository that stores and retrieves the user's messages.

Constructor Detail

Account

public Account()