java.lang.Object
org.odpi.openmetadata.frameworkservices.gaf.rest.GAFAPIRequest
All Implemented Interfaces:
RequestIdService
Direct Known Subclasses:
CompletionStatusRequestBody, EngineActionStatusRequestBody, InitiateEngineActionRequestBody, InitiateGovernanceActionProcessRequestBody, InitiateGovernanceActionTypeRequestBody

public class GAFAPIRequest extends Object implements RequestIdService
  • Constructor Details

    • GAFAPIRequest

      public GAFAPIRequest()
      Default constructor
    • GAFAPIRequest

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

    • getRequestId

      public String getRequestId()
      Return the unique identifier for the request.
      Specified by:
      getRequestId in interface RequestIdService
      Returns:
      string guid
    • setRequestId

      public void setRequestId(String requestId)
      Set up the unique identifier for the request.
      Specified by:
      setRequestId in interface RequestIdService
      Parameters:
      requestId - string guid
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      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 Object
      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 Object
      Returns:
      int hash code