com.aol.acc
Enum AccRateState

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

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


Enum Constant Summary
Alert
          Alert; close to the limit
Clear
          Messages can be sent freely
Limit
          Limited; nothing more can be sent
Unknown
          Unknown state
UNKNOWNVALUE
           
 
Method Summary
 boolean equals(int i)
           
static AccRateState intToEnum(int value)
           
 AccRateState or(AccRateState val)
           
 int value()
           
static AccRateState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AccRateState[] 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 AccRateState UNKNOWNVALUE

Unknown

public static final AccRateState Unknown
Unknown state


Limit

public static final AccRateState Limit
Limited; nothing more can be sent


Alert

public static final AccRateState Alert
Alert; close to the limit


Clear

public static final AccRateState Clear
Messages can be sent freely

Method Detail

values

public static final AccRateState[] 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(AccRateState c : AccRateState.values())
        System.out.println(c);

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

valueOf

public static AccRateState 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 AccRateState or(AccRateState val)

intToEnum

public static AccRateState intToEnum(int value)