Class DeployedAPIOperation


public class DeployedAPIOperation extends APIOperation
An asset that is a DeployedAPI has a schema made up of operations. These operations have a header, request and a response. Each of these has a list of schema attributes.
  • Field Details

  • Constructor Details

    • DeployedAPIOperation

      protected DeployedAPIOperation()
      Constructor used by the subclasses
    • DeployedAPIOperation

      public DeployedAPIOperation(APIOperation schemaBean)
      Bean constructor
      Parameters:
      schemaBean - bean containing the schema properties
    • DeployedAPIOperation

      public DeployedAPIOperation(DeployedAPIOperation template)
      Copy/clone Constructor.
      Parameters:
      template - template object to copy.
  • Method Details

    • getHeaderAttributes

      public SchemaAttributes getHeaderAttributes()
      Return the list of schema attributes in this API operation's header.
      Returns:
      SchemaAttributes
    • getRequestAttributes

      public SchemaAttributes getRequestAttributes()
      Return the list of schema attributes in this API operation's request.
      Returns:
      SchemaAttributes
    • getResponseAttributes

      public SchemaAttributes getResponseAttributes()
      Return the list of schema attributes in this API operation's response.
      Returns:
      SchemaAttributes
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class APIOperation
      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 APIOperation
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Hash of properties
      Overrides:
      hashCode in class APIOperation
      Returns:
      int