java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
org.odpi.openmetadata.accessservices.assetconsumer.properties.AssetSearchMatches

public class AssetSearchMatches extends org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
AssetSearchMatches is used to return an asset whose has anchored elements returned from a search. The matching element are the OCF beans for the matching elements.
  • Field Summary

    Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase

    CURRENT_AUDIT_HEADER_VERSION
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    Copy/clone constructor.
    AssetSearchMatches(org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset template)
    Copy/clone constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Return comparison result based on the content of the properties.
    Return the list of anchored elements that match the search criteria.
    int
    Return hash code for this object
    void
    Set up the list of anchored elements that match the search criteria.
    JSON-style toString

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset

    getAbbreviation, getDisplayDescription, getDisplayName, getDisplaySummary, getResourceDescription, getResourceName, getUsage, getVersionIdentifier, setAbbreviation, setDisplayDescription, setDisplayName, setDisplaySummary, setResourceDescription, setResourceName, setUsage, setVersionIdentifier

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable

    getMeanings, getSearchKeywords, setMeanings, setSearchKeywords

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable

    getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase

    getExtendedProperties, setExtendedProperties

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader

    getClassifications, getGUID, setClassifications, setGUID

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader

    getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersions

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase

    getHeaderVersion, setHeaderVersion

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AssetSearchMatches

      public AssetSearchMatches()
      Default constructor
    • AssetSearchMatches

      public AssetSearchMatches(org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset template)
      Copy/clone constructor. Note, this is a deep copy
      Parameters:
      template - template values for asset summary
    • AssetSearchMatches

      public AssetSearchMatches(AssetSearchMatches template)
      Copy/clone constructor. Note, this is a deep copy
      Parameters:
      template - template values for asset summary
  • Method Details

    • getMatchingElements

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

      public void setMatchingElements(List<MetadataElement> 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 org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
      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 org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
      Returns:
      int hash code