Class DeleteRequestBody
java.lang.Object
org.odpi.openmetadata.frameworkservices.gaf.rest.MetadataSourceRequestBody
org.odpi.openmetadata.frameworkservices.gaf.rest.DeleteRequestBody
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.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorDeleteRequestBody(DeleteRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.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.toString()JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworkservices.gaf.rest.MetadataSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
Constructor Details
-
DeleteRequestBody
public DeleteRequestBody()Default constructor -
DeleteRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
setQualifiedName
Set up the fully qualified name.- Parameters:
qualifiedName- String name
-
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
JSON-style toString.- Overrides:
toStringin classMetadataSourceRequestBody- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classMetadataSourceRequestBody- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classMetadataSourceRequestBody- Returns:
- int hash code
-