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
public class PersonalProfileProperties extends ActorProfileProperties
The PersonalProfileProperties describes an individual. Information about the personal profile is stored as an Person entity in the metadata repository.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PersonalProfileProperties()Default ConstructorPersonalProfileProperties(PersonalProfileProperties template)Copy/clone Constructor - the resulting object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.StringgetFullName()Return the full legal name for this person.StringgetJobTitle()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.StringtoString()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 Detail
-
PersonalProfileProperties
public PersonalProfileProperties()
Default Constructor
-
PersonalProfileProperties
public PersonalProfileProperties(PersonalProfileProperties template)
Copy/clone Constructor - the resulting object.- Parameters:
template- object being copied
-
-
Method Detail
-
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
-
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
-
toString
public String toString()
JSON-style toString.- Overrides:
toStringin classActorProfileProperties- 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:
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
-
-