Class AgreementRoleAppointee
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.AttributedMetadataElement
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ActorRoleElement
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ActorRoleAppointee
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.AgreementRoleAppointee
- All Implemented Interfaces:
MetadataElement
ActorRoleAppointee is the bean used to return a role and current appointee(s).
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorAgreementRoleAppointee
(ActorRoleElement template) Copy/clone constructorAgreementRoleAppointee
(AgreementRoleAppointee 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
(AgreementActorProperties agreementActorProperties) Set up the role information from the agreement.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ActorRoleAppointee
getAppointmentProperties, getProfile, setAppointmentProperties, setProfile
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ActorRoleElement
getProperties, setProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.AttributedMetadataElement
getAlsoKnownAs, getAttachedComments, getAttachedKeywords, getAttachedLikes, getAttachedReviews, getAttachedTags, getElementHeader, getExternalReferences, getMemberOfCollections, getMermaidGraph, getOtherRelatedElements, getRelatedBy, getSemanticAssignments, setAlsoKnownAs, setAttachedComments, setAttachedKeywords, setAttachedLikes, setAttachedReviews, setAttachedTags, setElementHeader, setExternalReferences, setMemberOfCollections, setMermaidGraph, setOtherRelatedElements, setRelatedBy, setSemanticAssignments
-
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:
agreementActorProperties
- agreement role properties
-
toString
JSON-style toString- Overrides:
toString
in classActorRoleAppointee
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classActorRoleAppointee
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classActorRoleAppointee
- Returns:
- int hash code
-