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

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

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

Author:
Nabeel Mukhtar

Enum Constant Summary
PUBLIC
          public profile.
STANDARD
          standard profile.
 
Field Summary
private  java.lang.String fieldName
          Field description
private static java.util.Map<java.lang.String,ProfileType> stringToEnum
          Field Description.
 
Method Summary
 java.lang.String fieldName()
           
static ProfileType fromString(java.lang.String symbol)
           
 java.lang.String toString()
          Method description
static ProfileType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProfileType[] 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

STANDARD

public static final ProfileType STANDARD
standard profile.


PUBLIC

public static final ProfileType PUBLIC
public profile.

Field Detail

stringToEnum

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


fieldName

private final java.lang.String fieldName
Field description

Method Detail

values

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

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

valueOf

public static ProfileType 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<ProfileType>
Returns:

fromString

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