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 an Person entity in the metadata repository.
- See Also:
-
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 full legal name for this person.Return the primary job title for this person.inthashCode()Just use the GUID for the hash code as it should be unique.voidsetFullName(String fullName) Set up the full legal name for this person.voidsetJobTitle(String jobTitle) Set up the primary job title for this person.toString()JSON-style toString.Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.properties.ActorProfileProperties
getDescription, getKnownName, setDescription, setKnownNameMethods 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
-
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
-
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
-
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
-