public class OrcidProfile extends OAuth20Profile
This class is the user profile for ORCiD with appropriate getters.
It is returned by the OrcidClient
.
Method : | From the XML profile response : |
---|---|
The attributes of the CommonProfile |
|
String getFirstName() | the first-names attribute |
String getFamilyName() | the family-name attribute |
Locale getLocale() | the locale attribute |
String getProfileUrl() | the public-profile-url attribute |
More specific attributes | |
String getOrcid() | the path attribute |
String getCreationMethod() | the creation-method attribute |
boolean getClaimed() | the claimed attribute |
OrcidClient
,
Serialized FormUSERNAME
logger, SEPARATOR
Constructor and Description |
---|
OrcidProfile() |
Modifier and Type | Method and Description |
---|---|
protected AttributesDefinition |
getAttributesDefinition()
Return the attributes definition for this user profile.
|
boolean |
getClaimed() |
String |
getCreationMethod() |
String |
getFamilyName()
Return the family name of the user.
|
String |
getFirstName()
Return the first name of the user.
|
Locale |
getLocale()
Return the locale of the user.
|
String |
getOrcid() |
String |
getProfileUrl()
Return the url of the profile of the user.
|
clear, getAccessToken, setAccessToken
getDisplayName, getEmail, getGender, getLocation, getPictureUrl, getUsername
addAttribute, addAttributes, addPermission, addPermissions, addRole, addRoles, build, getAttribute, getAttribute, getAttributes, getId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, setId, setRemembered, toString, writeExternal
protected AttributesDefinition getAttributesDefinition()
UserProfile
getAttributesDefinition
in class UserProfile
public String getOrcid()
public boolean getClaimed()
public String getCreationMethod()
public String getFirstName()
CommonProfile
getFirstName
in class CommonProfile
public String getFamilyName()
CommonProfile
getFamilyName
in class CommonProfile
public Locale getLocale()
CommonProfile
getLocale
in class CommonProfile
public String getProfileUrl()
CommonProfile
getProfileUrl
in class CommonProfile
Copyright © 2016. All rights reserved.