Class PersonRoleAppointee
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.PersonRoleElement
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.PersonRoleAppointee
- All Implemented Interfaces:
MetadataElement
- Direct Known Subclasses:
AgreementRoleAppointee
,PersonRoleHistory
PersonRoleAppointee is the bean used to return a role and current appointee(s).
-
Constructor Summary
ConstructorDescriptionDefault constructorPersonRoleAppointee
(PersonRoleAppointee template) Copy/clone constructorPersonRoleAppointee
(PersonRoleElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the properties of the appointment relationship.Return the profile information for the individual.int
hashCode()
Return hash code for this objectvoid
setAppointmentProperties
(AppointmentProperties appointmentProperties) Set up the properties of the appointment relationship.void
setProfile
(ActorProfileElement profile) Set up the profile information for the individual.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.PersonRoleElement
getElementHeader, getProperties, getRelatedElement, setElementHeader, setProperties, setRelatedElement
-
Constructor Details
-
PersonRoleAppointee
public PersonRoleAppointee()Default constructor -
PersonRoleAppointee
Copy/clone constructor- Parameters:
template
- object to copy
-
PersonRoleAppointee
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getAppointmentProperties
Return the properties of the appointment relationship.- Returns:
- properties
-
setAppointmentProperties
Set up the properties of the appointment relationship.- Parameters:
appointmentProperties
- 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- Overrides:
toString
in classPersonRoleElement
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classPersonRoleElement
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classPersonRoleElement
- Returns:
- int hash code
-