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
ConstructorsConstructorDescriptionDefault constructorPersonRoleAppointee(PersonRoleAppointee template) Copy/clone constructorPersonRoleAppointee(PersonRoleElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the properties of the appointment relationship.Return the profile information for the individual.inthashCode()Return hash code for this objectvoidsetAppointmentProperties(AppointmentProperties appointmentProperties) Set up the properties of the appointment relationship.voidsetProfile(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:
toStringin classPersonRoleElement- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classPersonRoleElement- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classPersonRoleElement- Returns:
- int hash code
-