Class UpdateStatusRequestBody

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.MetadataSourceRequestBody
org.odpi.openmetadata.frameworkservices.gaf.rest.UpdateStatusRequestBody

public class UpdateStatusRequestBody extends org.odpi.openmetadata.commonservices.ffdc.rest.MetadataSourceRequestBody
UpdateStatusRequestBody provides a structure for passing the updated status and effectivity dates for a metadata element.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Equals method that returns true if containing properties are the same.
    org.odpi.openmetadata.frameworks.openmetadata.enums.ElementStatus
    Return the new status value - or null to leave as is.
    int
    Return hash code for this object
    void
    setNewStatus(org.odpi.openmetadata.frameworks.openmetadata.enums.ElementStatus newStatus)
    Set up the new status value - or null to leave as is.
    JSON-style toString.

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

    getEffectiveTime, getExternalSourceGUID, getExternalSourceName, getForDuplicateProcessing, getForLineage, setEffectiveTime, setExternalSourceGUID, setExternalSourceName, setForDuplicateProcessing, setForLineage

    Methods inherited from class java.lang.Object

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

    • UpdateStatusRequestBody

      public UpdateStatusRequestBody()
      Default constructor
    • UpdateStatusRequestBody

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

    • getNewStatus

      public org.odpi.openmetadata.frameworks.openmetadata.enums.ElementStatus getNewStatus()
      Return the new status value - or null to leave as is.
      Returns:
      element status enum value
    • setNewStatus

      public void setNewStatus(org.odpi.openmetadata.frameworks.openmetadata.enums.ElementStatus newStatus)
      Set up the new status value - or null to leave as is.
      Parameters:
      newStatus - element status enum value
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class org.odpi.openmetadata.commonservices.ffdc.rest.MetadataSourceRequestBody
      Returns:
      list of properties and their values.
    • equals

      public boolean equals(Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      Overrides:
      equals in class org.odpi.openmetadata.commonservices.ffdc.rest.MetadataSourceRequestBody
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class org.odpi.openmetadata.commonservices.ffdc.rest.MetadataSourceRequestBody
      Returns:
      int hash code