Class ProcessRequestBody

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ProcessRequestBody

public class ProcessRequestBody extends Object
ProcessRequestBody describes the request body used to create/update process properties.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    Copy/clone constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Return comparison result based on the content of the properties.
    org.odpi.openmetadata.frameworks.openmetadata.properties.assets.processes.ProcessProperties
    Return the properties for the element.
    org.odpi.openmetadata.frameworks.openmetadata.enums.ProcessStatus
    Return the process status.
    int
    Return hash code for this object
    void
    setElementProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.assets.processes.ProcessProperties elementProperties)
    Set up the properties for the element.
    void
    setProcessStatus(org.odpi.openmetadata.frameworks.openmetadata.enums.ProcessStatus processStatus)
    Set up the process status.
    JSON-style toString

    Methods inherited from class java.lang.Object

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

    • ProcessRequestBody

      public ProcessRequestBody()
      Default constructor
    • ProcessRequestBody

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

    • getProcessStatus

      public org.odpi.openmetadata.frameworks.openmetadata.enums.ProcessStatus getProcessStatus()
      Return the process status.
      Returns:
      enum describing lifecycle state
    • setProcessStatus

      public void setProcessStatus(org.odpi.openmetadata.frameworks.openmetadata.enums.ProcessStatus processStatus)
      Set up the process status.
      Parameters:
      processStatus - enum describing lifecycle state
    • getElementProperties

      public org.odpi.openmetadata.frameworks.openmetadata.properties.assets.processes.ProcessProperties getElementProperties()
      Return the properties for the element.
      Returns:
      properties object
    • setElementProperties

      public void setElementProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.assets.processes.ProcessProperties elementProperties)
      Set up the properties for the element.
      Parameters:
      elementProperties - properties object
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class Object
      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 Object
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code