Class PeerDuplicatesRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.gaf.rest.StewardshipRequestBody
-
- org.odpi.openmetadata.commonservices.gaf.rest.PeerDuplicatesRequestBody
-
- All Implemented Interfaces:
Serializable
public class PeerDuplicatesRequestBody extends StewardshipRequestBody
PeerDuplicatesRequestBody provides a structure for passing the properties associated with duplicates.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PeerDuplicatesRequestBody()Default constructorPeerDuplicatesRequestBody(PeerDuplicatesRequestBody 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.StringgetMetadataElement1GUID()Gets metadata element 1 guid.StringgetMetadataElement2GUID()Gets metadata element 2 guid.booleangetSetKnownDuplicate()Return the boolean flag indicating whether the KnownDuplicate classification should be set on the linked entities.inthashCode()Return hash code for this objectvoidsetMetadataElement1GUID(String metadataElement1GUID)Sets metadata element 1 guid.voidsetMetadataElement2GUID(String metadataElement2GUID)Sets metadata element 2 guid.voidsetSetKnownDuplicate(boolean setKnownDuplicate)Set up the boolean flag indicating whether the KnownDuplicate classification should be set on the linked entities.StringtoString()JSON-style toString.-
Methods inherited from class org.odpi.openmetadata.commonservices.gaf.rest.StewardshipRequestBody
getNotes, getSource, getStatusIdentifier, getSteward, getStewardPropertyName, getStewardTypeName, setNotes, setSource, setStatusIdentifier, setSteward, setStewardPropertyName, setStewardTypeName
-
-
-
-
Constructor Detail
-
PeerDuplicatesRequestBody
public PeerDuplicatesRequestBody()
Default constructor
-
PeerDuplicatesRequestBody
public PeerDuplicatesRequestBody(PeerDuplicatesRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getMetadataElement1GUID
public String getMetadataElement1GUID()
Gets metadata element 1 guid.- Returns:
- the metadata element 1 guid
-
setMetadataElement1GUID
public void setMetadataElement1GUID(String metadataElement1GUID)
Sets metadata element 1 guid.- Parameters:
metadataElement1GUID- the metadata element 1 guid
-
getMetadataElement2GUID
public String getMetadataElement2GUID()
Gets metadata element 2 guid.- Returns:
- the metadata element 2 guid
-
setMetadataElement2GUID
public void setMetadataElement2GUID(String metadataElement2GUID)
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
public String toString()
JSON-style toString.- Overrides:
toStringin classStewardshipRequestBody- Returns:
- list of properties and their values.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classStewardshipRequestBody- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classStewardshipRequestBody- Returns:
- int hash code
-
-