Class GovernanceDefinitionRequestBody

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.GovernanceDefinitionRequestBody

public class GovernanceDefinitionRequestBody extends ExternalSourceRequestBody
GovernanceDefinitionRequestBody provides a structure used when creating governance definitions.
  • Constructor Details

    • GovernanceDefinitionRequestBody

      public GovernanceDefinitionRequestBody()
      Default constructor
    • GovernanceDefinitionRequestBody

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

    • getProperties

      public GovernanceDefinitionProperties getProperties()
      Return the properties of the governance definition.
      Returns:
      properties
    • setProperties

      public void setProperties(GovernanceDefinitionProperties properties)
      Set up the properties of the governance definition.
      Parameters:
      properties - properties
    • getInitialStatus

      public GovernanceDefinitionStatus getInitialStatus()
      Return the initial status of the governance definition.
      Returns:
      instance status
    • setInitialStatus

      public void setInitialStatus(GovernanceDefinitionStatus initialStatus)
      Set up the initial status of the governance definition.
      Parameters:
      initialStatus - instance status
    • toString

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

      public boolean equals(Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      Overrides:
      equals in class ExternalSourceRequestBody
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

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