Class AnchorSearchMatches
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataElement
org.odpi.openmetadata.frameworks.governanceaction.properties.AnchorSearchMatches
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
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorsConstructorDescriptionTypical ConstructorAnchorSearchMatches
(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;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; -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the list of anchored elements that match the search criteria.int
hashCode()
Return hash code for this objectvoid
setMatchingElements
(List<OpenMetadataElement> matchingElements) Set up the list of anchored elements that match the search criteria.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataElement
getClassifications, getEffectiveFromTime, getEffectiveToTime, getElementGUID, getElementProperties, setClassifications, setEffectiveFromTime, setEffectiveToTime, setElementGUID, setElementProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
getHeaderVersion, getOrigin, getStatus, getType, getVersions, setHeaderVersion, setOrigin, setStatus, setType, setVersions
-
Constructor Details
-
AnchorSearchMatches
public AnchorSearchMatches()Typical Constructor -
AnchorSearchMatches
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
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
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:
toString
in classOpenMetadataElement
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classOpenMetadataElement
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classOpenMetadataElement
- Returns:
- int hash code
-