Class PeerDuplicatesRequestBody
java.lang.Object
org.odpi.openmetadata.frameworkservices.gaf.rest.StewardshipRequestBody
org.odpi.openmetadata.frameworkservices.gaf.rest.PeerDuplicatesRequestBody
PeerDuplicatesRequestBody provides a structure for passing the properties associated with duplicates.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Gets metadata element 1 guid.Gets metadata element 2 guid.boolean
Return the boolean flag indicating whether the KnownDuplicate classification should be set on the linked entities.int
hashCode()
Return hash code for this objectvoid
setMetadataElement1GUID
(String metadataElement1GUID) Sets metadata element 1 guid.void
setMetadataElement2GUID
(String metadataElement2GUID) Sets metadata element 2 guid.void
setSetKnownDuplicate
(boolean setKnownDuplicate) Set up the boolean flag indicating whether the KnownDuplicate classification should be set on the linked entities.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
-
PeerDuplicatesRequestBody
public PeerDuplicatesRequestBody()Default constructor -
PeerDuplicatesRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getMetadataElement1GUID
Gets metadata element 1 guid.- Returns:
- the metadata element 1 guid
-
setMetadataElement1GUID
Sets metadata element 1 guid.- Parameters:
metadataElement1GUID
- the metadata element 1 guid
-
getMetadataElement2GUID
Gets metadata element 2 guid.- Returns:
- the metadata element 2 guid
-
setMetadataElement2GUID
Sets metadata element 2 guid.- Parameters:
metadataElement2GUID
- the metadata element 2 guid
-
getSetKnownDuplicate
public boolean getSetKnownDuplicate()Return the boolean flag indicating whether the KnownDuplicate classification should be set on the linked entities.- Returns:
- boolean flag
-
setSetKnownDuplicate
public void setSetKnownDuplicate(boolean setKnownDuplicate) Set up the boolean flag indicating whether the KnownDuplicate classification should be set on the linked entities.- Parameters:
setKnownDuplicate
- boolean flag
-
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
-