Class AgreementRoleAppointee
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.PersonRoleElement
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.PersonRoleAppointee
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.AgreementRoleAppointee
- All Implemented Interfaces:
MetadataElement
PersonRoleAppointee is the bean used to return a role and current appointee(s).
-
Constructor Summary
ConstructorDescriptionDefault constructorAgreementRoleAppointee
(AgreementRoleAppointee template) Copy/clone constructorAgreementRoleAppointee
(PersonRoleElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the role information from the agreement.int
hashCode()
Return hash code for this objectvoid
setAgreementRoleProperties
(AgreementRoleProperties agreementRoleProperties) Set up the role information from the agreement.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.PersonRoleAppointee
getAppointmentProperties, getProfile, setAppointmentProperties, setProfile
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.PersonRoleElement
getElementHeader, getProperties, getRelatedElement, setElementHeader, setProperties, setRelatedElement
-
Constructor Details
-
AgreementRoleAppointee
public AgreementRoleAppointee()Default constructor -
AgreementRoleAppointee
Copy/clone constructor- Parameters:
template
- object to copy
-
AgreementRoleAppointee
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getAgreementRoleProperties
Return the role information from the agreement.- Returns:
- agreement role properties
-
setAgreementRoleProperties
Set up the role information from the agreement.- Parameters:
agreementRoleProperties
- agreement role properties
-
toString
JSON-style toString- Overrides:
toString
in classPersonRoleAppointee
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classPersonRoleAppointee
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classPersonRoleAppointee
- Returns:
- int hash code
-