java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.properties.PersonRoleProperties
org.odpi.openmetadata.accessservices.governanceprogram.properties.GovernanceRoleProperties
All Implemented Interfaces:
Serializable

public class GovernanceRoleProperties extends PersonRoleProperties
The GovernanceRoleProperties describes a role within the governance program. Initially, the role is defined and then a person is assigned to the role.
See Also:
  • Constructor Details

    • GovernanceRoleProperties

      public GovernanceRoleProperties()
      Default Constructor
    • GovernanceRoleProperties

      public GovernanceRoleProperties(GovernanceRoleProperties template)
      Copy/clone Constructor - the resulting object.
      Parameters:
      template - object being copied
  • Method Details

    • getDomainIdentifier

      public int getDomainIdentifier()
      Return the identifier of the governance domain that this zone is managed by.
      Returns:
      int identifier
    • setDomainIdentifier

      public void setDomainIdentifier(int domainIdentifier)
      Set up the identifier of the governance domain that this zone is managed by.
      Parameters:
      domainIdentifier - int identifier
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class PersonRoleProperties
      Returns:
      list of properties and their values.
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class PersonRoleProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class PersonRoleProperties
      Returns:
      int