Class MyProfileRequestBody

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.MyProfileRequestBody
Direct Known Subclasses:
PersonalProfileRequestBody

public class MyProfileRequestBody extends Object
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 Details

    • MyProfileRequestBody

      public MyProfileRequestBody()
      Default constructor
    • MyProfileRequestBody

      public MyProfileRequestBody(MyProfileRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getQualifiedName

      public String getQualifiedName()
      Return the unique name for this person - may be employee identifier.
      Returns:
      String identifier
    • setQualifiedName

      public void setQualifiedName(String qualifiedName)
      Set up the unique name for this person - may be employee identifier.
      Parameters:
      qualifiedName - String identifier
    • getFullName

      public String getFullName()
      Return the full name for this person.
      Returns:
      string name
    • setFullName

      public void setFullName(String fullName)
      Set up the full name for this person.
      Parameters:
      fullName - string name
    • getKnownName

      public String getKnownName()
      Return the preferred name for this person.
      Returns:
      string name
    • setKnownName

      public void setKnownName(String knownName)
      Set up the preferred name for this person.
      Parameters:
      knownName - string name
    • getJobTitle

      public String 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

      public void setJobTitle(String jobTitle)
      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

      public String 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

      public void setJobRoleDescription(String jobRoleDescription)
      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

      public void setProfileProperties(Map<String,Object> profileProperties)
      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

      public Map<String,Object> 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

      public void setAdditionalProperties(Map<String,String> additionalProperties)
      Set up additional properties.
      Parameters:
      additionalProperties - Additional properties object
    • getAdditionalProperties

      public Map<String,String> getAdditionalProperties()
      Return a copy of the additional properties. Null means no additional properties are available.
      Returns:
      AdditionalProperties
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class Object
      Returns:
      list of properties and their values.
    • equals

      public boolean equals(Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code