Class PersonalProfileProperties
java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.governanceprogram.properties.ActorProfileProperties
org.odpi.openmetadata.accessservices.governanceprogram.properties.PersonalProfileProperties
- All Implemented Interfaces:
Serializable
The PersonalProfileProperties describes an individual. Information about the
personal profile is stored as a Person entity in the metadata repository.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorCopy/clone Constructor - the resulting object. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the person's employee number (aka personnel number, serial number).Return the type of employee contract such as full-time, part-time, that the person holds.Return the full legal name for this person.Return the list of given names.Return the person's initials (first letter of each given name).boolean
Return the flag to indicate whether the profile is public or not.Return the primary job title for this person.Return the person's preferred speaking/written language for communicating with them.Return the person's pronouns preference.Return the name of the country that is the person's primary residence.Return the last, or family name of the person.Return the time zone that the person is located in.getTitle()
Return the courtesy title.int
hashCode()
Just use the GUID for the hash code as it should be unique.void
setEmployeeNumber
(String employeeNumber) Set up the person's employee number (aka personnel number, serial number).void
setEmployeeType
(String employeeType) Set up the type of employee contract such as full-time, part-time, that the person holds.void
setFullName
(String fullName) Set up the full legal name for this person.void
setGivenNames
(String givenNames) Set up the list of given names.void
setInitials
(String initials) Set up the person's initials (first letter of each given name).void
setIsPublic
(boolean aPublic) Set up the flag to indicate whether the profile is public or not.void
setJobTitle
(String jobTitle) Set up the primary job title for this person.void
setPreferredLanguage
(String preferredLanguage) Set up the person's preferred speaking/written language for communicating with them.void
setPronouns
(String pronouns) Set up the person's pronouns preference.void
setResidentCountry
(String residentCountry) Set up the name of the country that is the person's primary residence.void
setSurname
(String surname) Set up the last, or family name of the person.void
setTimeZone
(String timeZone) Set up the time zone that the person is located in.void
Set up the courtesy title.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.properties.ActorProfileProperties
getDescription, getKnownName, setDescription, setKnownName
Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName
-
Constructor Details
-
PersonalProfileProperties
public PersonalProfileProperties()Default Constructor -
PersonalProfileProperties
Copy/clone Constructor - the resulting object.- Parameters:
template
- object being copied
-
-
Method Details
-
getTitle
Return the courtesy title.- Returns:
- string
-
setTitle
Set up the courtesy title.- Parameters:
title
- string
-
getInitials
Return the person's initials (first letter of each given name).- Returns:
- string
-
setInitials
Set up the person's initials (first letter of each given name).- Parameters:
initials
- string
-
getGivenNames
Return the list of given names.- Returns:
- string
-
setGivenNames
Set up the list of given names.- Parameters:
givenNames
- string
-
getSurname
Return the last, or family name of the person.- Returns:
- string
-
setSurname
Set up the last, or family name of the person.- Parameters:
surname
- string
-
getFullName
Return the full legal name for this person.- Returns:
- string name
-
setFullName
Set up the full legal name for this person.- Parameters:
fullName
- string name
-
getPronouns
Return the person's pronouns preference.- Returns:
- string
-
setPronouns
Set up the person's pronouns preference.- Parameters:
pronouns
- string
-
getJobTitle
Return the primary job title for this person.- Returns:
- string title
-
setJobTitle
Set up the primary job title for this person.- Parameters:
jobTitle
- string title
-
getEmployeeNumber
Return the person's employee number (aka personnel number, serial number).- Returns:
- string
-
setEmployeeNumber
Set up the person's employee number (aka personnel number, serial number).- Parameters:
employeeNumber
- string
-
getEmployeeType
Return the type of employee contract such as full-time, part-time, that the person holds.- Returns:
- string
-
setEmployeeType
Set up the type of employee contract such as full-time, part-time, that the person holds.- Parameters:
employeeType
- string
-
getPreferredLanguage
Return the person's preferred speaking/written language for communicating with them.- Returns:
- string
-
setPreferredLanguage
Set up the person's preferred speaking/written language for communicating with them.- Parameters:
preferredLanguage
- string
-
getResidentCountry
Return the name of the country that is the person's primary residence.- Returns:
- string
-
setResidentCountry
Set up the name of the country that is the person's primary residence.- Parameters:
residentCountry
- string
-
getTimeZone
Return the time zone that the person is located in.- Returns:
- string
-
setTimeZone
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
JSON-style toString.- Overrides:
toString
in classActorProfileProperties
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classActorProfileProperties
- 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 classActorProfileProperties
- Returns:
- int code
-