apps.mathpadapp.controllerapp.usercontroller
Class UserInfo

java.lang.Object
  extended by apps.mathpadapp.controllerapp.usercontroller.UserInfo

public class UserInfo
extends java.lang.Object

The Class UserInfo.


Nested Class Summary
static class UserInfo.UserStatus
          The Enum UserStatus.
 
Constructor Summary
UserInfo(UserIdentity userId)
          Instantiates a new user info.
 
Method Summary
 TableIdentity getTableIdentity()
          Gets the table identity.
 UserIdentity getUserIdentity()
          Gets the user identity.
 UserInfo.UserStatus getUserStatus()
          Gets the user status.
 void setTableIdentity(TableIdentity tableId)
          Sets the table identity.
 void setUserIdentity(UserIdentity userId)
          Sets the user identity.
 void setUserStatus(UserInfo.UserStatus userStatus)
          Sets the user status.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserInfo

public UserInfo(UserIdentity userId)
Instantiates a new user info.

Parameters:
userId - the user id
Method Detail

getTableIdentity

public TableIdentity getTableIdentity()
Gets the table identity.

Returns:
the table identity

getUserIdentity

public UserIdentity getUserIdentity()
Gets the user identity.

Returns:
the user identity

getUserStatus

public UserInfo.UserStatus getUserStatus()
Gets the user status.

Returns:
the user status

setTableIdentity

public void setTableIdentity(TableIdentity tableId)
Sets the table identity.

Parameters:
tableId - the new table identity

setUserIdentity

public void setUserIdentity(UserIdentity userId)
Sets the user identity.

Parameters:
userId - the new user identity

setUserStatus

public void setUserStatus(UserInfo.UserStatus userStatus)
Sets the user status.

Parameters:
userStatus - the new user status

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object