Class BasicServerPropertiesResponse

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
org.odpi.openmetadata.adminservices.rest.AdminServicesAPIResponse
org.odpi.openmetadata.adminservices.rest.BasicServerPropertiesResponse
All Implemented Interfaces:
org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponse

public class BasicServerPropertiesResponse extends AdminServicesAPIResponse
BasicServerPropertiesResponse is the response structure used on the OMAG REST API calls that returns a BasicServerProperties object as a response.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Compare the values of the supplied object with those stored in the current object.
    Return the properties object.
    int
    Create a hash code for this element type.
    void
    Set up the properties object.
    Standard toString method.

    Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase

    getActionDescription, getExceptionCausedBy, getExceptionClassName, getExceptionErrorMessage, getExceptionErrorMessageId, getExceptionErrorMessageParameters, getExceptionProperties, getExceptionSystemAction, getExceptionUserAction, getRelatedHTTPCode, setActionDescription, setExceptionCausedBy, setExceptionClassName, setExceptionErrorMessage, setExceptionErrorMessageId, setExceptionErrorMessageParameters, setExceptionProperties, setExceptionSystemAction, setExceptionUserAction, setRelatedHTTPCode

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BasicServerPropertiesResponse

      public BasicServerPropertiesResponse()
      Default constructor
  • Method Details

    • getBasicServerProperties

      public BasicServerProperties getBasicServerProperties()
      Return the properties object.
      Returns:
      BasicServerProperties object
    • setBasicServerProperties

      public void setBasicServerProperties(BasicServerProperties basicServerProperties)
      Set up the properties object.
      Parameters:
      basicServerProperties - - properties
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class AdminServicesAPIResponse
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Create a hash code for this element type.
      Overrides:
      hashCode in class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
      Returns:
      int hash code