Class ReIdentifyRequestBody
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.search.BasicOptions
org.odpi.openmetadata.frameworks.openmetadata.search.MetadataSourceOptions
org.odpi.openmetadata.frameworkservices.omf.rest.ReIdentifyRequestBody
- All Implemented Interfaces:
RequestIdService
ReIdentifyRequestBody provides a structure for passing the new unique identifier for a metadata element or
relationship that is being re-identified.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorReIdentifyRequestBody(MetadataSourceOptions template) Copy/clone constructorReIdentifyRequestBody(ReIdentifyRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.Return the new unique identifier for the instance.inthashCode()Return hash code for this objectvoidsetNewGUID(String newGUID) Set up the new unique identifier for the instance.toString()JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.MetadataSourceOptions
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.BasicOptions
getEffectiveTime, getForDuplicateProcessing, getForLineage, getRequestId, setEffectiveTime, setForDuplicateProcessing, setForLineage, setRequestId
-
Constructor Details
-
ReIdentifyRequestBody
public ReIdentifyRequestBody()Default constructor -
ReIdentifyRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
ReIdentifyRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getNewGUID
Return the new unique identifier for the instance.- Returns:
- string guid
-
setNewGUID
Set up the new unique identifier for the instance.- Parameters:
newGUID- string guid
-
toString
JSON-style toString.- Overrides:
toStringin classMetadataSourceOptions- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classMetadataSourceOptions- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classMetadataSourceOptions- Returns:
- int hash code
-