public class AnchorSearchMatches extends OpenMetadataElement
Captures the anchor open metadata element and corresponding matches retrieved during an Anchors-based search request such as searching within an anchor context - anchor, domain, scope
  • Constructor Details

    • AnchorSearchMatches

      public AnchorSearchMatches()
      Typical Constructor
    • AnchorSearchMatches

      public AnchorSearchMatches(OpenMetadataElement template)
      Copy/clone Constructor the resulting object will return true if tested with this.equals(template) as long as the template object is not null;
      Parameters:
      template - object being copied
    • AnchorSearchMatches

      public AnchorSearchMatches(AnchorSearchMatches template)
      Copy/clone Constructor the resulting object will return true if tested with this.equals(template) as long as the template object is not null;
      Parameters:
      template - object being copied
  • Method Details

    • getMatchingElements

      public List<OpenMetadataElement> getMatchingElements()
      Return the list of anchored elements that match the search criteria.
      Returns:
      list
    • setMatchingElements

      public void setMatchingElements(List<OpenMetadataElement> matchingElements)
      Set up the list of anchored elements that match the search criteria.
      Parameters:
      matchingElements - list
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class OpenMetadataElement
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class OpenMetadataElement
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

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