com.aol.acc
Enum AccCustomSessionMode

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

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

Modes of operation for a custom session.


Enum Constant Summary
Message
           
OfferAnswer
           
Streams
           
UNKNOWNVALUE
           
 
Method Summary
 boolean equals(int i)
           
static AccCustomSessionMode intToEnum(int value)
           
 AccCustomSessionMode or(AccCustomSessionMode val)
           
 int value()
           
static AccCustomSessionMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AccCustomSessionMode[] 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 AccCustomSessionMode UNKNOWNVALUE

OfferAnswer

public static final AccCustomSessionMode OfferAnswer

Streams

public static final AccCustomSessionMode Streams

Message

public static final AccCustomSessionMode Message
Method Detail

values

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

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

valueOf

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

intToEnum

public static AccCustomSessionMode intToEnum(int value)