Class DeleteRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.discoveryengine.rest.ODFOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.discoveryengine.rest.DeleteRequestBody
-
- All Implemented Interfaces:
Serializable
public class DeleteRequestBody extends ODFOMASAPIRequestBody
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeleteRequestBody()Default constructorDeleteRequestBody(DeleteRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.StringgetQualifiedName()Returns the stored qualified name property for the metadata entity.inthashCode()Return hash code for this objectvoidsetQualifiedName(String qualifiedName)Set up the fully qualified name.StringtoString()JSON-style toString.
-
-
-
Constructor Detail
-
DeleteRequestBody
public DeleteRequestBody()
Default constructor
-
DeleteRequestBody
public DeleteRequestBody(DeleteRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
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:
toStringin classODFOMASAPIRequestBody- Returns:
- list of properties and their values.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
-
-