java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.properties.RelationshipProperties
org.odpi.openmetadata.accessservices.governanceprogram.properties.StakeholderProperties
All Implemented Interfaces:
Serializable

public class StakeholderProperties extends RelationshipProperties
StakeholderProperties provides a details of a stakeholder for an initiative.
See Also:
  • Constructor Details

    • StakeholderProperties

      public StakeholderProperties()
      Default constructor
    • StakeholderProperties

      public StakeholderProperties(StakeholderProperties template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getStakeholderRole

      public String getStakeholderRole()
      Return the role of the stakeholder to the initiative.
      Returns:
      role type
    • setStakeholderRole

      public void setStakeholderRole(String stakeholderRole)
      Set up the role of the stakeholder to the initiative.
      Parameters:
      stakeholderRole - role type
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class RelationshipProperties
      Returns:
      return string containing the property names and 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 RelationshipProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

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