com.google.code.linkedinapi.client.enumeration
Enum ConnectionModificationType

java.lang.Object
  extended by java.lang.Enum<ConnectionModificationType>
      extended by com.google.code.linkedinapi.client.enumeration.ConnectionModificationType
All Implemented Interfaces:
FieldEnum, java.io.Serializable, java.lang.Comparable<ConnectionModificationType>

public enum ConnectionModificationType
extends java.lang.Enum<ConnectionModificationType>
implements FieldEnum

Author:
Nabeel Mukhtar

Enum Constant Summary
ALL
          update and new.
NEW
          new.
UPDATED
          updated.
 
Field Summary
private  java.lang.String fieldName
          Field description
private static java.util.Map<java.lang.String,ConnectionModificationType> stringToEnum
          Field Description.
 
Method Summary
 java.lang.String fieldName()
           
static ConnectionModificationType fromString(java.lang.String symbol)
           
 java.lang.String toString()
          Method description
static ConnectionModificationType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ConnectionModificationType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ALL

public static final ConnectionModificationType ALL
update and new.


NEW

public static final ConnectionModificationType NEW
new.


UPDATED

public static final ConnectionModificationType UPDATED
updated.

Field Detail

stringToEnum

private static final java.util.Map<java.lang.String,ConnectionModificationType> stringToEnum
Field Description.


fieldName

private final java.lang.String fieldName
Field description

Method Detail

values

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

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

valueOf

public static ConnectionModificationType 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

fieldName

public java.lang.String fieldName()
Specified by:
fieldName in interface FieldEnum
Returns:
the name of the field

toString

public java.lang.String toString()
Method description

Overrides:
toString in class java.lang.Enum<ConnectionModificationType>
Returns:

fromString

public static ConnectionModificationType fromString(java.lang.String symbol)
Returns:
Returns ProfileType for string, or null if string is invalid