Class PersonRoleAppointee
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.metadataelements.PersonRoleAppointee
- All Implemented Interfaces:
Serializable,MetadataElement
PersonRoleAppointee describes an individual's appointment to a specific governance role. It includes their personal details along with the
start and end date of their appointment. The elementHeader is from the PersonRoleAppointment relationship.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorPersonRoleAppointee(PersonRoleAppointee template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeaderReturn the element header associated with the properties.Return the profile information for the individual.Return the properties of the appointment relationship.inthashCode()Hash code for this objectvoidsetElementHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader elementHeader) Set up the element header associated with the properties.voidsetProfile(ActorProfileElement profile) Set up the profile information for the individual.voidsetProperties(AppointmentProperties properties) Set up the properties of the appointment relationship.toString()JSON-style toString.
-
Constructor Details
-
PersonRoleAppointee
public PersonRoleAppointee()Default constructor -
PersonRoleAppointee
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getElementHeader
public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader getElementHeader()Return the element header associated with the properties.- Specified by:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
public void setElementHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader elementHeader) Set up the element header associated with the properties.- Specified by:
setElementHeaderin interfaceMetadataElement- Parameters:
elementHeader- element header object
-
getProperties
Return the properties of the appointment relationship.- Returns:
- properties
-
setProperties
Set up the properties of the appointment relationship.- Parameters:
properties- properties
-
getProfile
Return the profile information for the individual.- Returns:
- personal profile object
-
setProfile
Set up the profile information for the individual.- Parameters:
profile- personal profile object
-
toString
JSON-style toString. -
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Hash code for this object
-