Class PersonalProfileProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.actors.ActorProfileProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.actors.PersonalProfileProperties
The PersonalProfileProperties describes an individual. Information about the
personal profile is stored as an Person entity in the metadata repository.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorCopy/clone Constructor - the resulting object. -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals 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.booleanReturn 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.getTitle()Return the courtesy title for the person.inthashCode()Just use the GUID for the hash code as it should be unique.voidsetEmployeeNumber(String employeeNumber) Set up the unique identifier of the person used by their employer.voidsetEmployeeType(String employeeType) Set up code used by employer typically to describe the type of employment contract.voidsetFullName(String fullName) Set up the full legal name for this person.voidsetGivenNames(String givenNames) Set up the name strings that are the part of a person's name that is not their surname.voidsetInitials(String initials) Set up first letter of each of the person's given names.voidsetIsPublic(boolean isPublic) Set up if the contents of this profile is to be shared with colleagues.voidsetJobTitle(String jobTitle) Set up the primary job title for this person.voidsetPreferredLanguage(String preferredLanguage) Set up spoken or written language preferred by the person.voidsetPronouns(String pronouns) Set up the person's preferred pronouns.voidsetSurname(String surname) Set up the family name of the person.voidSet up the courtesy title for the person.toString()JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.actors.ActorProfileProperties
getDescription, getKnownName, setDescription, setKnownNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorPropertiesMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
Constructor Details
-
PersonalProfileProperties
public PersonalProfileProperties()Default Constructor -
PersonalProfileProperties
Copy/clone Constructor - the resulting object.- Parameters:
template- object being copied
-
-
Method Details
-
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 preferred pronouns.- Returns:
- string
-
setPronouns
Set up the person's preferred pronouns.- 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
-
getTitle
Return the courtesy title for the person.- Returns:
- string
-
setTitle
Set up the courtesy title for the person.- Parameters:
title- string
-
getInitials
Return first letter of each of the person's given names.- Returns:
- string
-
setInitials
Set up first letter of each of the person's given names.- Parameters:
initials- 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
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
Return the family name of the person.- Returns:
- string
-
setSurname
Set up the family name of the person.- Parameters:
surname- string
-
getEmployeeNumber
Return the unique identifier of the person used by their employer.- Returns:
- string
-
setEmployeeNumber
Set up the unique identifier of the person used by their employer.- Parameters:
employeeNumber- string
-
getEmployeeType
Return code used by employer typically to describe the type of employment contract.- Returns:
- string
-
setEmployeeType
Set up code used by employer typically to describe the type of employment contract.- Parameters:
employeeType- string
-
getPreferredLanguage
Return spoken or written language preferred by the person.- Returns:
- string
-
setPreferredLanguage
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
JSON-style toString.- Overrides:
toStringin classActorProfileProperties- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equalsin 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:
hashCodein classActorProfileProperties- Returns:
- int code
-