Class MyProfileRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.MyProfileRequestBody
- 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.
-
Constructor Summary
ConstructorDescriptionDefault constructorMyProfileRequestBody
(MyProfileRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals 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.int
hashCode()
Return hash code for this objectvoid
setAdditionalProperties
(Map<String, String> additionalProperties) Set up additional properties.void
setFullName
(String fullName) Set up the full name for this person.void
setJobRoleDescription
(String jobRoleDescription) Set up the description of the job role for this person.void
setJobTitle
(String jobTitle) Set up the primary job title for this person.void
setKnownName
(String knownName) Set up the preferred name for this person.void
setProfileProperties
(Map<String, Object> profileProperties) Set up profile properties.void
setQualifiedName
(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. -
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-