com.aol.acc
Enum AccSecondarySessionState

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

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


Enum Constant Summary
Connecting
          Establishing connection
Offline
          Offline
Online
          Online
Paused
          Paused, e.g.
ReceivedProposal
          Received proposal, need to accept/reject
SentProposal
          Sent proposal, awaiting reply
UNKNOWNVALUE
           
 
Method Summary
 boolean equals(int i)
           
static AccSecondarySessionState intToEnum(int value)
           
 AccSecondarySessionState or(AccSecondarySessionState val)
           
 int value()
           
static AccSecondarySessionState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AccSecondarySessionState[] 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 AccSecondarySessionState UNKNOWNVALUE

Offline

public static final AccSecondarySessionState Offline
Offline


ReceivedProposal

public static final AccSecondarySessionState ReceivedProposal
Received proposal, need to accept/reject


SentProposal

public static final AccSecondarySessionState SentProposal
Sent proposal, awaiting reply


Connecting

public static final AccSecondarySessionState Connecting
Establishing connection


Online

public static final AccSecondarySessionState Online
Online


Paused

public static final AccSecondarySessionState Paused
Paused, e.g. for migration or on-hold

Method Detail

values

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

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

valueOf

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

intToEnum

public static AccSecondarySessionState intToEnum(int value)