Class MyProfileRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.rest.CommunityProfileOMASAPIRequestBody
org.odpi.openmetadata.accessservices.communityprofile.rest.MyProfileRequestBody
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PersonalProfileRequestBody
MyProfileRequestBody provides a structure for passing personal details over a REST API.
It is used for creating and updating a profile for the calling user.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorMyProfileRequestBody(MyProfileRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.Return a copy of the additional properties.Return the full name for this person.Return the description of the job role for this person.Return the primary job title for this person.Return the preferred name for this person.Return profile properties.Return the unique name for this person - may be employee identifier.inthashCode()Return hash code for this objectvoidsetAdditionalProperties(Map<String, String> additionalProperties) Set up additional properties.voidsetFullName(String fullName) Set up the full name for this person.voidsetJobRoleDescription(String jobRoleDescription) Set up the description of the job role for this person.voidsetJobTitle(String jobTitle) Set up the primary job title for this person.voidsetKnownName(String knownName) Set up the preferred name for this person.voidsetProfileProperties(Map<String, Object> profileProperties) Set up profile properties.voidsetQualifiedName(String qualifiedName) Set up the unique name for this person - may be employee identifier.toString()JSON-style toString.
-
Constructor Details
-
MyProfileRequestBody
public MyProfileRequestBody()Default constructor -
MyProfileRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getQualifiedName
Return the unique name for this person - may be employee identifier.- Returns:
- String identifier
-
setQualifiedName
Set up the unique name for this person - may be employee identifier.- Parameters:
qualifiedName- String identifier
-
getFullName
Return the full name for this person.- Returns:
- string name
-
setFullName
Set up the full name for this person.- Parameters:
fullName- string name
-
getKnownName
Return the preferred name for this person.- Returns:
- string name
-
setKnownName
Set up the preferred name for this person.- Parameters:
knownName- string name
-
getJobTitle
Return the primary job title for this person. This may relate to the specific governance responsibilities, or may be their main role if the governance responsibilities are just an adjunct to their main role.- Returns:
- string title
-
setJobTitle
Set up the primary job title for this person. This may relate to the specific governance responsibilities, or may be their main role if the governance responsibilities are just an adjunct to their main role.- Parameters:
jobTitle- string title
-
getJobRoleDescription
Return the description of the job role for this person. This may relate to the specific governance responsibilities, or may be their main role if the governance responsibilities are just an adjunct to their main role.- Returns:
- string description
-
setJobRoleDescription
Set up the description of the job role for this person. This may relate to the specific governance responsibilities, or may be their main role if the governance responsibilities are just an adjunct to their main role.- Parameters:
jobRoleDescription- string description
-
setProfileProperties
Set up profile properties. These are properties that come from the subclass of Person. Null means no profile properties are available.- Parameters:
profileProperties- map from string (property name) to object (property value)
-
getProfileProperties
Return profile properties. These are properties that come from the subclass of Person. Null means no profile properties are available.- Returns:
- map from string (property name) to object (property value)
-
setAdditionalProperties
Set up additional properties.- Parameters:
additionalProperties- Additional properties object
-
getAdditionalProperties
Return a copy of the additional properties. Null means no additional properties are available.- Returns:
- AdditionalProperties
-
toString
JSON-style toString.- Overrides:
toStringin classCommunityProfileOMASAPIRequestBody- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-