All Implemented Interfaces:
Serializable

public class PersonalProfileProperties extends ActorProfileProperties
The PersonalProfileProperties describes an individual. Information about the personal profile is stored as a Person entity in the metadata repository.
See Also:
  • 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

    • getTitle

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

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

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

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

      public String getGivenNames()
      Return the list of given names.
      Returns:
      string
    • setGivenNames

      public void setGivenNames(String givenNames)
      Set up the list of given names.
      Parameters:
      givenNames - string
    • getSurname

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

      public void setSurname(String surname)
      Set up the last, or family name of the person.
      Parameters:
      surname - string
    • 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 pronouns preference.
      Returns:
      string
    • setPronouns

      public void setPronouns(String pronouns)
      Set up the person's pronouns preference.
      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
    • getEmployeeNumber

      public String getEmployeeNumber()
      Return the person's employee number (aka personnel number, serial number).
      Returns:
      string
    • setEmployeeNumber

      public void setEmployeeNumber(String employeeNumber)
      Set up the person's employee number (aka personnel number, serial number).
      Parameters:
      employeeNumber - string
    • getEmployeeType

      public String getEmployeeType()
      Return the type of employee contract such as full-time, part-time, that the person holds.
      Returns:
      string
    • setEmployeeType

      public void setEmployeeType(String employeeType)
      Set up the type of employee contract such as full-time, part-time, that the person holds.
      Parameters:
      employeeType - string
    • getPreferredLanguage

      public String getPreferredLanguage()
      Return the person's preferred speaking/written language for communicating with them.
      Returns:
      string
    • setPreferredLanguage

      public void setPreferredLanguage(String preferredLanguage)
      Set up the person's preferred speaking/written language for communicating with them.
      Parameters:
      preferredLanguage - string
    • getResidentCountry

      public String getResidentCountry()
      Return the name of the country that is the person's primary residence.
      Returns:
      string
    • setResidentCountry

      public void setResidentCountry(String residentCountry)
      Set up the name of the country that is the person's primary residence.
      Parameters:
      residentCountry - string
    • getTimeZone

      public String getTimeZone()
      Return the time zone that the person is located in.
      Returns:
      string
    • setTimeZone

      public void setTimeZone(String timeZone)
      Set up the time zone that the person is located in.
      Parameters:
      timeZone - string
    • getIsPublic

      public boolean getIsPublic()
      Return the flag to indicate whether the profile is public or not.
      Returns:
      boolean flag
    • setIsPublic

      public void setIsPublic(boolean aPublic)
      Set up the flag to indicate whether the profile is public or not.
      Parameters:
      aPublic - boolean flag
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class 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 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 ActorProfileProperties
      Returns:
      int code