com.aol.acc
Enum AccPermissions

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

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

perhaps definitions of constants should go into another idl file
Values for permissions preferences, e.g. aimcc.av.audio.permissions.buddies


Enum Constant Summary
AcceptAll
          Auto-accept any received invitation
Ask
          Prompt when an invitation is received
RejectAll
          Auto-reject any received invitation
UNKNOWNVALUE
           
 
Method Summary
 boolean equals(int i)
           
static AccPermissions intToEnum(int value)
           
 AccPermissions or(AccPermissions val)
           
 int value()
           
static AccPermissions valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AccPermissions[] 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 AccPermissions UNKNOWNVALUE

Ask

public static final AccPermissions Ask
Prompt when an invitation is received


RejectAll

public static final AccPermissions RejectAll
Auto-reject any received invitation


AcceptAll

public static final AccPermissions AcceptAll
Auto-accept any received invitation

Method Detail

values

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

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

valueOf

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

intToEnum

public static AccPermissions intToEnum(int value)