Class PersonalProfileProperties

java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.communityprofile.properties.ActorProfileProperties
org.odpi.openmetadata.viewservices.myprofile.properties.PersonalProfileProperties

public class PersonalProfileProperties extends org.odpi.openmetadata.accessservices.communityprofile.properties.ActorProfileProperties
The PersonalProfileProperties describes an individual. Information about the personal profile is stored as an Person entity in the metadata repository.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default Constructor
    Copy/clone Constructor - the resulting object.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Equals method that returns true if containing properties are the same.
    Return the unique identifier of the person used by their employer.
    Return code used by employer typically to describe the type of employment contract.
    Return the full legal name for this person.
    Return the name strings that are the part of a person's name that is not their surname.
    Return first letter of each of the person's given names.
    boolean
    Return if the contents of this profile is to be shared with colleagues.
    Return the primary job title for this person.
    Return spoken or written language preferred by the person.
    Return the person's preferred pronouns.
    Return the family name of the person.
    Return the courtesy title for the person.
    int
    Just use the GUID for the hash code as it should be unique.
    void
    setEmployeeNumber(String employeeNumber)
    Set up the unique identifier of the person used by their employer.
    void
    setEmployeeType(String employeeType)
    Set up code used by employer typically to describe the type of employment contract.
    void
    setFullName(String fullName)
    Set up the full legal name for this person.
    void
    setGivenNames(String givenNames)
    Set up the name strings that are the part of a person's name that is not their surname.
    void
    setInitials(String initials)
    Set up first letter of each of the person's given names.
    void
    setIsPublic(boolean isPublic)
    Set up if the contents of this profile is to be shared with colleagues.
    void
    setJobTitle(String jobTitle)
    Set up the primary job title for this person.
    void
    setPreferredLanguage(String preferredLanguage)
    Set up spoken or written language preferred by the person.
    void
    setPronouns(String pronouns)
    Set up the person's preferred pronouns.
    void
    setSurname(String surname)
    Set up the family name of the person.
    void
    Set up the courtesy title for the person.
    JSON-style toString.

    Methods inherited from class org.odpi.openmetadata.accessservices.communityprofile.properties.ActorProfileProperties

    getDescription, getKnownName, setDescription, setKnownName

    Methods inherited from class org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties

    getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PersonalProfileProperties

      public PersonalProfileProperties()
      Default Constructor
    • PersonalProfileProperties

      public PersonalProfileProperties(PersonalProfileProperties template)
      Copy/clone Constructor - the resulting object.
      Parameters:
      template - object being copied
  • Method Details

    • getFullName

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

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

      public String getPronouns()
      Return the person's preferred pronouns.
      Returns:
      string
    • setPronouns

      public void setPronouns(String pronouns)
      Set up the person's preferred pronouns.
      Parameters:
      pronouns - string
    • getJobTitle

      public String getJobTitle()
      Return the primary job title for this person.
      Returns:
      string title
    • setJobTitle

      public void setJobTitle(String jobTitle)
      Set up the primary job title for this person.
      Parameters:
      jobTitle - string title
    • getTitle

      public String getTitle()
      Return the courtesy title for the person.
      Returns:
      string
    • setTitle

      public void setTitle(String title)
      Set up the courtesy title for the person.
      Parameters:
      title - string
    • getInitials

      public String getInitials()
      Return first letter of each of the person's given names.
      Returns:
      string
    • setInitials

      public void setInitials(String initials)
      Set up first letter of each of the person's given names.
      Parameters:
      initials - string
    • getGivenNames

      public String getGivenNames()
      Return the name strings that are the part of a person's name that is not their surname.
      Returns:
      space separated list of names
    • setGivenNames

      public void setGivenNames(String givenNames)
      Set up the name strings that are the part of a person's name that is not their surname.
      Parameters:
      givenNames - space separated list of names
    • getSurname

      public String getSurname()
      Return the family name of the person.
      Returns:
      string
    • setSurname

      public void setSurname(String surname)
      Set up the family name of the person.
      Parameters:
      surname - string
    • getEmployeeNumber

      public String getEmployeeNumber()
      Return the unique identifier of the person used by their employer.
      Returns:
      string
    • setEmployeeNumber

      public void setEmployeeNumber(String employeeNumber)
      Set up the unique identifier of the person used by their employer.
      Parameters:
      employeeNumber - string
    • getEmployeeType

      public String getEmployeeType()
      Return code used by employer typically to describe the type of employment contract.
      Returns:
      string
    • setEmployeeType

      public void setEmployeeType(String employeeType)
      Set up code used by employer typically to describe the type of employment contract.
      Parameters:
      employeeType - string
    • getPreferredLanguage

      public String getPreferredLanguage()
      Return spoken or written language preferred by the person.
      Returns:
      string
    • setPreferredLanguage

      public void setPreferredLanguage(String preferredLanguage)
      Set up spoken or written language preferred by the person.
      Parameters:
      preferredLanguage - string
    • getIsPublic

      public boolean getIsPublic()
      Return if the contents of this profile is to be shared with colleagues.
      Returns:
      flag
    • setIsPublic

      public void setIsPublic(boolean isPublic)
      Set up if the contents of this profile is to be shared with colleagues.
      Parameters:
      isPublic - flag
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class org.odpi.openmetadata.accessservices.communityprofile.properties.ActorProfileProperties
      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 org.odpi.openmetadata.accessservices.communityprofile.properties.ActorProfileProperties
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Just use the GUID for the hash code as it should be unique.
      Overrides:
      hashCode in class org.odpi.openmetadata.accessservices.communityprofile.properties.ActorProfileProperties
      Returns:
      int code