Class PeerDuplicatesRequestBody

java.lang.Object
org.odpi.openmetadata.frameworkservices.gaf.rest.StewardshipRequestBody
org.odpi.openmetadata.frameworkservices.gaf.rest.PeerDuplicatesRequestBody

public class PeerDuplicatesRequestBody extends StewardshipRequestBody
PeerDuplicatesRequestBody provides a structure for passing the properties associated with duplicates.
  • Constructor Details

    • PeerDuplicatesRequestBody

      public PeerDuplicatesRequestBody()
      Default constructor
    • PeerDuplicatesRequestBody

      public PeerDuplicatesRequestBody(PeerDuplicatesRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • 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:
      toString in class StewardshipRequestBody
      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:
      equals in class StewardshipRequestBody
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class StewardshipRequestBody
      Returns:
      int hash code