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

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

public enum ProfileField
extends java.lang.Enum<ProfileField>
implements CompositeEnum<ProfileField>

Author:
Nabeel Mukhtar

Enum Constant Summary
API_STANDARD_PROFILE_REQUEST
          An URL representing the resource you would request for programmatic access to the member's profile
API_STANDARD_PROFILE_REQUEST_HEADERS
          A collection of fields that can be re-used as HTTP headers to request an out of network profile programmatically
API_STANDARD_PROFILE_REQUEST_URL
           
ASSOCIATIONS
          A short-form text area enumerating the Associations a member has
CONNECTIONS
          an empty collection, indicating the # of connections the member has with a total attribute.
CURRENT_STATUS
          the member's current status, if set
CURRENT_STATUS_TIMESTAMP
          the timestamp, in milliseconds, when the member's status was last set
DATE_OF_BIRTH
          member's birth date
DISTANCE
          the degree distance of the fetched profile from the member who fetched the profile
EDUCATIONS
          A collection of education institutions a member has attended, the total indicated by a total attribute
FIRST_NAME
          the member's first name
HEADLINE
          the member's headline (often "Job Title at Company")
HONORS
          A short-form text area describing what Honors the member may have
ID
          the member token for this member
IM_ACCOUNTS
          a collection of instant messenger accounts
INDUSTRY
          the industry the LinkedIn member has indicated their profile belongs to
INTERESTS
           
LAST_NAME
          the member's last name
LOCATION
          Generic name of the location of the LinkedIn member, (ex: "San Francisco Bay Area")
LOCATION_COUNTRY
           
LOCATION_NAME
          Generic name of the location of the LinkedIn member, (ex: "San Francisco Bay Area")
MAIN_ADDRESS
          address
MEMBER_URL_NAME
          The label given to the URL by the member
MEMBER_URL_RESOURCES
          A collection of URLs the member has chosen to share on their LinkedIn profile
MEMBER_URL_URL
          The fully-qualified URL being shared
NUM_CONNECTIONS
           
NUM_CONNECTIONS_CAPPED
           
NUM_RECOMMENDERS
           
PHONE_NUMBERS
          a collection of phone numbers
PICTURE_URL
          A URL to the profile picture, if the member has associated one with their profile and it is visible to the requestor
POSITIONS
          A collection of positions a member has had, the total indicated by a total attribute
PROPOSAL_COMMENTS
          A short-form text area describing how the member approaches proposals
PUBLIC_PROFILE_URL
          A URL to the member's public profile, if enabled.
RECOMMENDATIONS_RECEIVED
           
RELATION_TO_VIEWER
          the degree distance of the fetched profile from the member who fetched the profile
RELATION_TO_VIEWER_CONNECTIONS
          a total attribute will denote the number of connections that link the fetching member to the fetched.
RELATION_TO_VIEWER_DISTANCE
          the degree distance of the fetched profile from the member who fetched the profile
RELATION_TO_VIEWER_RELATED_CONNECTIONS
           
SITE_STANDARD_PROFILE_REQUEST
          the URL to the member's authenticated profile on LinkedIn (requires a login to be viewed, unlike public profiles)
SITE_STANDARD_PROFILE_REQUEST_URL
           
SPECIALTIES
          A short-form text area where the member enumerates their specialties.
SUMMARY
          A long-form text area where the member describes their professional profile
THREE_CURRENT_POSITIONS
          A collection of positions a member currently holds, limited to three and indicated by a total attribute
THREE_PAST_POSITIONS
          A collection of positions a member formerly held, limited to the three most recent and indicated by a total attribute
TWITTER_ACCOUNTS
          a collection of twitter accounts
 
Field Summary
private  boolean availableForConnections
          Field description
private  java.lang.String fieldName
          Field description
private  ProfileField parent
           
private static java.util.Map<java.lang.String,ProfileField> stringToEnum
          Field Description.
 
Method Summary
 java.lang.String fieldName()
           
static FieldEnum fromString(java.lang.String symbol)
           
 boolean isAvailableForConnections()
           
 ProfileField parent()
          Parent.
 java.lang.String toString()
          Method description
static ProfileField valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProfileField[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
static java.util.Set<ProfileField> valuesForConnections()
           
 
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

ID

public static final ProfileField ID
the member token for this member


FIRST_NAME

public static final ProfileField FIRST_NAME
the member's first name


LAST_NAME

public static final ProfileField LAST_NAME
the member's last name


HEADLINE

public static final ProfileField HEADLINE
the member's headline (often "Job Title at Company")


LOCATION

public static final ProfileField LOCATION
Generic name of the location of the LinkedIn member, (ex: "San Francisco Bay Area")


LOCATION_NAME

public static final ProfileField LOCATION_NAME
Generic name of the location of the LinkedIn member, (ex: "San Francisco Bay Area")


LOCATION_COUNTRY

public static final ProfileField LOCATION_COUNTRY

INDUSTRY

public static final ProfileField INDUSTRY
the industry the LinkedIn member has indicated their profile belongs to


DISTANCE

public static final ProfileField DISTANCE
the degree distance of the fetched profile from the member who fetched the profile


RELATION_TO_VIEWER

public static final ProfileField RELATION_TO_VIEWER
the degree distance of the fetched profile from the member who fetched the profile


RELATION_TO_VIEWER_DISTANCE

public static final ProfileField RELATION_TO_VIEWER_DISTANCE
the degree distance of the fetched profile from the member who fetched the profile


RELATION_TO_VIEWER_RELATED_CONNECTIONS

public static final ProfileField RELATION_TO_VIEWER_RELATED_CONNECTIONS

RELATION_TO_VIEWER_CONNECTIONS

public static final ProfileField RELATION_TO_VIEWER_CONNECTIONS
a total attribute will denote the number of connections that link the fetching member to the fetched. Contains brief connection/person objects indicating the connecting first degree members.


CURRENT_STATUS

public static final ProfileField CURRENT_STATUS
the member's current status, if set


CURRENT_STATUS_TIMESTAMP

public static final ProfileField CURRENT_STATUS_TIMESTAMP
the timestamp, in milliseconds, when the member's status was last set


CONNECTIONS

public static final ProfileField CONNECTIONS
an empty collection, indicating the # of connections the member has with a total attribute.


NUM_CONNECTIONS

public static final ProfileField NUM_CONNECTIONS

NUM_CONNECTIONS_CAPPED

public static final ProfileField NUM_CONNECTIONS_CAPPED

SUMMARY

public static final ProfileField SUMMARY
A long-form text area where the member describes their professional profile


SPECIALTIES

public static final ProfileField SPECIALTIES
A short-form text area where the member enumerates their specialties.


PROPOSAL_COMMENTS

public static final ProfileField PROPOSAL_COMMENTS
A short-form text area describing how the member approaches proposals


ASSOCIATIONS

public static final ProfileField ASSOCIATIONS
A short-form text area enumerating the Associations a member has


HONORS

public static final ProfileField HONORS
A short-form text area describing what Honors the member may have


INTERESTS

public static final ProfileField INTERESTS

POSITIONS

public static final ProfileField POSITIONS
A collection of positions a member has had, the total indicated by a total attribute


EDUCATIONS

public static final ProfileField EDUCATIONS
A collection of education institutions a member has attended, the total indicated by a total attribute


THREE_CURRENT_POSITIONS

public static final ProfileField THREE_CURRENT_POSITIONS
A collection of positions a member currently holds, limited to three and indicated by a total attribute


THREE_PAST_POSITIONS

public static final ProfileField THREE_PAST_POSITIONS
A collection of positions a member formerly held, limited to the three most recent and indicated by a total attribute


NUM_RECOMMENDERS

public static final ProfileField NUM_RECOMMENDERS

RECOMMENDATIONS_RECEIVED

public static final ProfileField RECOMMENDATIONS_RECEIVED

PHONE_NUMBERS

public static final ProfileField PHONE_NUMBERS
a collection of phone numbers


IM_ACCOUNTS

public static final ProfileField IM_ACCOUNTS
a collection of instant messenger accounts


TWITTER_ACCOUNTS

public static final ProfileField TWITTER_ACCOUNTS
a collection of twitter accounts


DATE_OF_BIRTH

public static final ProfileField DATE_OF_BIRTH
member's birth date


MAIN_ADDRESS

public static final ProfileField MAIN_ADDRESS
address


MEMBER_URL_RESOURCES

public static final ProfileField MEMBER_URL_RESOURCES
A collection of URLs the member has chosen to share on their LinkedIn profile


MEMBER_URL_URL

public static final ProfileField MEMBER_URL_URL
The fully-qualified URL being shared


MEMBER_URL_NAME

public static final ProfileField MEMBER_URL_NAME
The label given to the URL by the member


PICTURE_URL

public static final ProfileField PICTURE_URL
A URL to the profile picture, if the member has associated one with their profile and it is visible to the requestor


SITE_STANDARD_PROFILE_REQUEST

public static final ProfileField SITE_STANDARD_PROFILE_REQUEST
the URL to the member's authenticated profile on LinkedIn (requires a login to be viewed, unlike public profiles)


SITE_STANDARD_PROFILE_REQUEST_URL

public static final ProfileField SITE_STANDARD_PROFILE_REQUEST_URL

API_STANDARD_PROFILE_REQUEST

public static final ProfileField API_STANDARD_PROFILE_REQUEST
An URL representing the resource you would request for programmatic access to the member's profile


API_STANDARD_PROFILE_REQUEST_URL

public static final ProfileField API_STANDARD_PROFILE_REQUEST_URL

API_STANDARD_PROFILE_REQUEST_HEADERS

public static final ProfileField API_STANDARD_PROFILE_REQUEST_HEADERS
A collection of fields that can be re-used as HTTP headers to request an out of network profile programmatically


PUBLIC_PROFILE_URL

public static final ProfileField PUBLIC_PROFILE_URL
A URL to the member's public profile, if enabled.

Field Detail

stringToEnum

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


fieldName

private final java.lang.String fieldName
Field description


parent

private final ProfileField parent

availableForConnections

private final boolean availableForConnections
Field description

Method Detail

values

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

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

valueOf

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

isAvailableForConnections

public boolean isAvailableForConnections()

toString

public java.lang.String toString()
Method description

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

fromString

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

valuesForConnections

public static java.util.Set<ProfileField> valuesForConnections()
Returns:
Returns ProfileFields available for connections.

parent

public ProfileField parent()
Description copied from interface: CompositeEnum
Parent.

Specified by:
parent in interface CompositeEnum<ProfileField>
Returns:
the parent