Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Copyright 2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.social.linkedin.api;
/**
* Profile Field
*
* @author Robert Drysdale
*/
public enum ProfileField {
ID,
FIRST_NAME,
LAST_NAME,
HEADLINE,
LOCATION,
INDUSTRY,
DISTANCE,
RELATION_TO_VIEWER,
CURRENT_SHARE,
CONNECTIONS,
NUM_CONNECTIONS,
NUM_CONNECTIONS_CAPPED,
SUMMARY,
SPECIALTIES,
PROPOSAL_COMMENTS,
ASSOCIATIONS,
HONORS,
INTERESTS,
POSITIONS,
PUBLICATIONS,
PATENTS,
LANGUAGES,
SKILLS,
CERTIFICATIONS,
EDUCATIONS,
THREE_CURRENT_POSITIONS,
THREE_PAST_POSITIONS,
NUM_RECOMMENDERS,
RECOMMENDATIONS_RECEIVED,
PHONE_NUMBERS,
IM_ACCOUNTS,
TWITTER_ACCOUNTS,
DATE_OF_BIRTH,
MAIN_ADDRESS,
MEMBER_URL_RESOURCES,
PICTURE_URL,
SITE_STANDARD_PROFILE_REQUEST_URL,
API_PUBLIC_PROFILE_REQUEST_URL,
SITE_PUBLIC_PROFILE_REQUEST_URL,
API_STANDARD_PROFILE_REQUEST,
PUBLIC_PROFILE_URL,
EMAIL_ADDRESS
;
public String toString() {
switch (this) {
case SITE_STANDARD_PROFILE_REQUEST_URL:
return "site-standard-profile-request:(url)";
case API_PUBLIC_PROFILE_REQUEST_URL:
return "api-public-profile-request:(url)";
case SITE_PUBLIC_PROFILE_REQUEST_URL:
return "site-public-profile-request:(url)";
default:
return this.name().toLowerCase().replace('_', '-');
}
}
}