Class ConsolidatedDuplicatesRequestBody

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

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

    • ConsolidatedDuplicatesRequestBody

      public ConsolidatedDuplicatesRequestBody()
      Default constructor
    • ConsolidatedDuplicatesRequestBody

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

    • getConsolidatedElementGUID

      public String getConsolidatedElementGUID()
      Gets consolidated metadata element guid.
      Returns:
      the metadata element guid
    • setConsolidatedElementGUID

      public void setConsolidatedElementGUID(String consolidatedElementGUID)
      Sets consolidated metadata element guid.
      Parameters:
      consolidatedElementGUID - the metadata element guid
    • getSourceElementGUIDs

      public List<String> getSourceElementGUIDs()
      Gets the metadata elements that provided the source properties/classifications.
      Returns:
      list of guids
    • setSourceElementGUIDs

      public void setSourceElementGUIDs(List<String> sourceElementGUIDs)
      Sets the metadata elements that provided the source properties/classifications.
      Parameters:
      sourceElementGUIDs - list of guids
    • 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