apps.mathpadapp.controllerapp.usercontroller
Enum UserInfo.UserStatus

java.lang.Object
  extended by java.lang.Enum<UserInfo.UserStatus>
      extended by apps.mathpadapp.controllerapp.usercontroller.UserInfo.UserStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<UserInfo.UserStatus>
Enclosing class:
UserInfo

public static enum UserInfo.UserStatus
extends java.lang.Enum<UserInfo.UserStatus>

The Enum UserStatus.


Enum Constant Summary
BLOCKED
          The blocked.
OFFLINE
          The offline.
ONLINE
          The online.
 
Method Summary
static UserInfo.UserStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static UserInfo.UserStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BLOCKED

public static final UserInfo.UserStatus BLOCKED
The blocked.


OFFLINE

public static final UserInfo.UserStatus OFFLINE
The offline.


ONLINE

public static final UserInfo.UserStatus ONLINE
The online.

Method Detail

values

public static UserInfo.UserStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (UserInfo.UserStatus c : UserInfo.UserStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static UserInfo.UserStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null