Class GovernanceDomainProperties

java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.governanceprogram.properties.GovernanceDomainProperties
All Implemented Interfaces:
Serializable

public class GovernanceDomainProperties extends ReferenceableProperties
GovernanceDomainProperties describes a governance domain and the identifier used to group the governance definitions together for this domain.
See Also:
  • Constructor Details

    • GovernanceDomainProperties

      public GovernanceDomainProperties()
      Default constructor
    • GovernanceDomainProperties

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

    • getDisplayName

      public String getDisplayName()
      Return the short name for the governance domain.
      Returns:
      string name
    • setDisplayName

      public void setDisplayName(String displayName)
      Set up the short name for the governance domain.
      Parameters:
      displayName - string name
    • getDescription

      public String getDescription()
      Return the description for the governance domain
      Returns:
      text
    • setDescription

      public void setDescription(String description)
      Set up the description of the governance domain
      Parameters:
      description - text
    • getDomainIdentifier

      public int getDomainIdentifier()
      Return the identifier of the governance domain. This value is used in the governance definitions to correlated them with the domain.
      Returns:
      int identifier
    • setDomainIdentifier

      public void setDomainIdentifier(int domainIdentifier)
      Set up the identifier of the governance domain. This value is used in the governance definitions to correlated them with the domain.
      Parameters:
      domainIdentifier - int identifier
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class ReferenceableProperties
      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:
      equals in class ReferenceableProperties
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class ReferenceableProperties
      Returns:
      int hash code