com.aol.acc
Enum AccUserState

java.lang.Object
  extended by java.lang.Enum<AccUserState>
      extended by com.aol.acc.AccUserState
All Implemented Interfaces:
AccEnum, java.io.Serializable, java.lang.Comparable<AccUserState>

public enum AccUserState
extends java.lang.Enum<AccUserState>
implements AccEnum

Values for AccUserProp_State.


Enum Constant Summary
Away
          User has set him/herself as away
Idle
          User is inactive
Offline
          User is offline (or appearing offline)
Online
          User is online and active
Unknown
          State is not known yet, waiting for server
UNKNOWNVALUE
           
 
Method Summary
 boolean equals(int i)
           
static AccUserState intToEnum(int value)
           
 AccUserState or(AccUserState val)
           
 int value()
           
static AccUserState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AccUserState[] values()
          Returns an array containing the constants of this enum type, in the order they're 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

UNKNOWNVALUE

public static final AccUserState UNKNOWNVALUE

Unknown

public static final AccUserState Unknown
State is not known yet, waiting for server


Offline

public static final AccUserState Offline
User is offline (or appearing offline)


Online

public static final AccUserState Online
User is online and active


Idle

public static final AccUserState Idle
User is inactive


Away

public static final AccUserState Away
User has set him/herself as away

Method Detail

values

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

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

valueOf

public static AccUserState 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

value

public final int value()
Specified by:
value in interface AccEnum

equals

public final boolean equals(int i)

or

public final AccUserState or(AccUserState val)

intToEnum

public static AccUserState intToEnum(int value)