Class PersonRoleAppointee
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.metadataelements.PersonRoleAppointee
-
- All Implemented Interfaces:
Serializable,MetadataElement
public class PersonRoleAppointee extends Object implements 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PersonRoleAppointee()Default constructorPersonRoleAppointee(PersonRoleAppointee template)Copy/clone constructor
-
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.ElementHeadergetElementHeader()Return the element header associated with the properties.ActorProfileElementgetProfile()Return the profile information for the individual.AppointmentPropertiesgetProperties()Return the properties of the appointment relationship.inthashCode()Hash code for this objectvoidsetElementHeader(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.StringtoString()JSON-style toString.
-
-
-
Constructor Detail
-
PersonRoleAppointee
public PersonRoleAppointee()
Default constructor
-
PersonRoleAppointee
public PersonRoleAppointee(PersonRoleAppointee template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getElementHeader
public ElementHeader getElementHeader()
Return the element header associated with the properties.- Specified by:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
public void setElementHeader(ElementHeader elementHeader)
Set up the element header associated with the properties.- Specified by:
setElementHeaderin interfaceMetadataElement- Parameters:
elementHeader- element header object
-
getProperties
public AppointmentProperties getProperties()
Return the properties of the appointment relationship.- Returns:
- properties
-
setProperties
public void setProperties(AppointmentProperties properties)
Set up the properties of the appointment relationship.- Parameters:
properties- properties
-
getProfile
public ActorProfileElement getProfile()
Return the profile information for the individual.- Returns:
- personal profile object
-
setProfile
public void setProfile(ActorProfileElement profile)
Set up the profile information for the individual.- Parameters:
profile- personal profile object
-
toString
public String toString()
JSON-style toString.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
-
-