Class ConsolidatedDuplicatesRequestBody
java.lang.Object
org.odpi.openmetadata.frameworkservices.gaf.rest.StewardshipRequestBody
org.odpi.openmetadata.frameworkservices.gaf.rest.ConsolidatedDuplicatesRequestBody
ConsolidatedDuplicatesRequestBody provides a structure for passing the properties associated with consolidated duplicates.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Gets consolidated metadata element guid.Gets the metadata elements that provided the source properties/classifications.int
hashCode()
Return hash code for this objectvoid
setConsolidatedElementGUID
(String consolidatedElementGUID) Sets consolidated metadata element guid.void
setSourceElementGUIDs
(List<String> sourceElementGUIDs) Sets the metadata elements that provided the source properties/classifications.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworkservices.gaf.rest.StewardshipRequestBody
getNotes, getSource, getStatusIdentifier, getSteward, getStewardPropertyName, getStewardTypeName, setNotes, setSource, setStatusIdentifier, setSteward, setStewardPropertyName, setStewardTypeName
-
Constructor Details
-
ConsolidatedDuplicatesRequestBody
public ConsolidatedDuplicatesRequestBody()Default constructor -
ConsolidatedDuplicatesRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getConsolidatedElementGUID
Gets consolidated metadata element guid.- Returns:
- the metadata element guid
-
setConsolidatedElementGUID
Sets consolidated metadata element guid.- Parameters:
consolidatedElementGUID
- the metadata element guid
-
getSourceElementGUIDs
Gets the metadata elements that provided the source properties/classifications.- Returns:
- list of guids
-
setSourceElementGUIDs
Sets the metadata elements that provided the source properties/classifications.- Parameters:
sourceElementGUIDs
- list of guids
-
toString
JSON-style toString.- Overrides:
toString
in classStewardshipRequestBody
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classStewardshipRequestBody
- Parameters:
objectToCompare
- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classStewardshipRequestBody
- Returns:
- int hash code
-