com.vodafone360.people.datatypes
Enum IdentityCapability.CapabilityID

java.lang.Object
  extended by java.lang.Enum<IdentityCapability.CapabilityID>
      extended by com.vodafone360.people.datatypes.IdentityCapability.CapabilityID
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IdentityCapability.CapabilityID>
Enclosing class:
IdentityCapability

public static enum IdentityCapability.CapabilityID
extends java.lang.Enum<IdentityCapability.CapabilityID>

Enumeration of capabilities potentially supported by an Identity.


Enum Constant Summary
chat
           
get_friend_update
           
get_own_status
           
mail
           
post_own_status
           
share_media
           
sync_contacts
           
 
Method Summary
private static IdentityCapability.CapabilityID find(java.lang.String name)
          Find CapabilityID for specified String.
static IdentityCapability.CapabilityID valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IdentityCapability.CapabilityID[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

sync_contacts

public static final IdentityCapability.CapabilityID sync_contacts

get_friend_update

public static final IdentityCapability.CapabilityID get_friend_update

get_own_status

public static final IdentityCapability.CapabilityID get_own_status

post_own_status

public static final IdentityCapability.CapabilityID post_own_status

share_media

public static final IdentityCapability.CapabilityID share_media

mail

public static final IdentityCapability.CapabilityID mail

chat

public static final IdentityCapability.CapabilityID chat
Method Detail

values

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

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

valueOf

public static IdentityCapability.CapabilityID 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
java.lang.NullPointerException - if the argument is null

find

private static IdentityCapability.CapabilityID find(java.lang.String name)
Find CapabilityID for specified String.

Parameters:
name - String containing name of required CapabilityID
Returns:
CapabilityID for supplied String, null if not found.


JavaDoc