Class RegisteredGovernanceServiceResponse

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
org.odpi.openmetadata.accessservices.governanceengine.rest.GovernanceEngineOMASAPIResponse
org.odpi.openmetadata.accessservices.governanceengine.rest.RegisteredGovernanceServiceResponse
All Implemented Interfaces:
Serializable, org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponse

public class RegisteredGovernanceServiceResponse extends GovernanceEngineOMASAPIResponse
RegisteredGovernanceServiceResponse is the response structure used on the Governance Engine OMAS REST API calls that returns a RegisteredGovernanceServiceElement object as a response.
See Also:
  • Constructor Details

    • RegisteredGovernanceServiceResponse

      public RegisteredGovernanceServiceResponse()
      Default constructor
    • RegisteredGovernanceServiceResponse

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

    • getRegisteredGovernanceService

      public RegisteredGovernanceServiceElement getRegisteredGovernanceService()
      Return the properties object.
      Returns:
      properties object
    • setRegisteredGovernanceService

      public void setRegisteredGovernanceService(RegisteredGovernanceServiceElement registeredGovernanceService)
      Set up the properties object.
      Parameters:
      registeredGovernanceService - properties object
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class GovernanceEngineOMASAPIResponse
      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 org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
      Returns:
      int hash code