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
ConstructorsConstructorDescriptionDefault constructorAgreementRoleAppointee(AgreementRoleAppointee template) Copy/clone constructorAgreementRoleAppointee(PersonRoleElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the role information from the agreement.inthashCode()Return hash code for this objectvoidsetAgreementRoleProperties(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, setProfileMethods 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:
toStringin classPersonRoleAppointee- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classPersonRoleAppointee- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classPersonRoleAppointee- Returns:
- int hash code
-