Class AssetSearchMatches
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
ConstructorsConstructorDescriptionDefault constructorAssetSearchMatches(AssetSearchMatches template) Copy/clone constructor.AssetSearchMatches(org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the list of anchored elements that match the search criteria.inthashCode()Return hash code for this objectvoidsetMatchingElements(List<MetadataElement> matchingElements) Set up the list of anchored elements that match the search criteria.toString()JSON-style toStringMethods 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, setVersionIdentifierMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
getMeanings, getSearchKeywords, setMeanings, setSearchKeywordsMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedNameMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, setExtendedPropertiesMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getGUID, setClassifications, setGUIDMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersionsMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
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
Copy/clone constructor. Note, this is a deep copy- Parameters:
template- template values for asset summary
-
-
Method Details
-
getMatchingElements
Return the list of anchored elements that match the search criteria.- Returns:
- list
-
setMatchingElements
Set up the list of anchored elements that match the search criteria.- Parameters:
matchingElements- list
-
toString
JSON-style toString- Overrides:
toStringin classorg.odpi.openmetadata.frameworks.connectors.properties.beans.Asset- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classorg.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:
hashCodein classorg.odpi.openmetadata.frameworks.connectors.properties.beans.Asset- Returns:
- int hash code
-