Class DeleteRequestBody

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.DeleteRequestBody
All Implemented Interfaces:
Serializable

public class DeleteRequestBody extends Object implements Serializable
DeleteRequestBody provides a structure for passing the qualified name of an object to be deleted. This is used to verify that the right object is being deleted.
See Also:
  • Constructor Details

    • DeleteRequestBody

      public DeleteRequestBody()
      Default constructor
    • DeleteRequestBody

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

    • setQualifiedName

      public void setQualifiedName(String qualifiedName)
      Set up the fully qualified name.
      Parameters:
      qualifiedName - String name
    • getQualifiedName

      public String getQualifiedName()
      Returns the stored qualified name property for the metadata entity. If no qualified name is available then the empty string is returned.
      Returns:
      qualifiedName
    • toString

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

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