Class ProcessContainmentTypeRequestBody

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

public class ProcessContainmentTypeRequestBody extends ExternalSourceRequestBody
ProcessContainmentTypeRequestBody is the request body structure used on OMAG REST API calls that passes a ProcessContainmentType enum.
  • Constructor Details

    • ProcessContainmentTypeRequestBody

      public ProcessContainmentTypeRequestBody()
      Default constructor
    • ProcessContainmentTypeRequestBody

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

    • getProcessContainmentType

      public ProcessContainmentType getProcessContainmentType()
      Return the relationship between the parent and child process.
      Returns:
      process containment type enum
    • setProcessContainmentType

      public void setProcessContainmentType(ProcessContainmentType processContainmentType)
      Set up the relationship between the parent and child process.
      Parameters:
      processContainmentType - process containment type enum
    • toString

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