Class AssetSearchMatches
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.AssetElement
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.AssetSearchMatches
- All Implemented Interfaces:
MetadataElement
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.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorAssetSearchMatches(AssetElement template) Copy/clone constructor.AssetSearchMatches(AssetSearchMatches 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<MetadataElementSummary> matchingElements) Set up the list of anchored elements that match the search criteria.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.AssetElement
getElementHeader, getProperties, setElementHeader, setProperties
-
Constructor Details
-
AssetSearchMatches
public AssetSearchMatches()Default constructor -
AssetSearchMatches
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 classAssetElement- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classAssetElement- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classAssetElement- Returns:
- int hash code
-