Class AgreementRoleAppointee
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.digitalservice.metadataelements.PersonRoleElement
-
- org.odpi.openmetadata.accessservices.digitalservice.metadataelements.PersonRoleAppointee
-
- org.odpi.openmetadata.accessservices.digitalservice.metadataelements.AgreementRoleAppointee
-
- All Implemented Interfaces:
Serializable,MetadataElement
public class AgreementRoleAppointee extends PersonRoleAppointee
PersonRoleAppointee is the bean used to return a role and current appointee(s).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AgreementRoleAppointee()Default constructorAgreementRoleAppointee(AgreementRoleAppointee template)Copy/clone constructorAgreementRoleAppointee(PersonRoleElement template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.AgreementRolePropertiesgetAgreementRoleProperties()Return the role information from the agreement.inthashCode()Return hash code for this objectvoidsetAgreementRoleProperties(AgreementRoleProperties agreementRoleProperties)Set up the role information from the agreement.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.digitalservice.metadataelements.PersonRoleAppointee
getCurrentAppointees, setCurrentAppointees
-
Methods inherited from class org.odpi.openmetadata.accessservices.digitalservice.metadataelements.PersonRoleElement
getElementHeader, getProperties, setElementHeader, setProperties
-
-
-
-
Constructor Detail
-
AgreementRoleAppointee
public AgreementRoleAppointee()
Default constructor
-
AgreementRoleAppointee
public AgreementRoleAppointee(AgreementRoleAppointee template)
Copy/clone constructor- Parameters:
template- object to copy
-
AgreementRoleAppointee
public AgreementRoleAppointee(PersonRoleElement template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getAgreementRoleProperties
public AgreementRoleProperties getAgreementRoleProperties()
Return the role information from the agreement.- Returns:
- agreement role properties
-
setAgreementRoleProperties
public void setAgreementRoleProperties(AgreementRoleProperties agreementRoleProperties)
Set up the role information from the agreement.- Parameters:
agreementRoleProperties- agreement role properties
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classPersonRoleAppointee- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
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
-
-