Class FindRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ResultsRequestBody
org.odpi.openmetadata.frameworkservices.gaf.rest.FindRequestBody
public class FindRequestBody
extends org.odpi.openmetadata.commonservices.ffdc.rest.ResultsRequestBody
FindRequestBody provides a structure for passing the properties for the find request.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorFindRequestBody(FindRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.org.odpi.openmetadata.frameworks.governanceaction.search.SearchClassificationsReturn details about the classifications that need to be present/absent from the search request.Return the list of valid subtypes that the returned metadata elements must belong to.Return the type of metadata element that the caller is searching for.org.odpi.openmetadata.frameworks.governanceaction.search.SearchPropertiesReturn the details of the property values that must be true for the returned metadata elements.inthashCode()Return hash code for this objectvoidsetMatchClassifications(org.odpi.openmetadata.frameworks.governanceaction.search.SearchClassifications matchClassifications) Set up details about the classifications that need to be present/absent from the search request.voidsetMetadataElementSubtypeNames(List<String> metadataElementSubtypeNames) Set up the list of valid subtypes that the returned metadata elements must belong to.voidsetMetadataElementTypeName(String metadataElementTypeName) Set up the type of metadata element that the caller is searching for.voidsetSearchProperties(org.odpi.openmetadata.frameworks.governanceaction.search.SearchProperties searchProperties) Set up the details of the property values that must be true for the returned metadata elements.toString()JSON-style toString.Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.ResultsRequestBody
getAsOfTime, getEffectiveTime, getLimitResultsByStatus, getSequencingOrder, getSequencingProperty, setAsOfTime, setEffectiveTime, setLimitResultsByStatus, setSequencingOrder, setSequencingProperty
-
Constructor Details
-
FindRequestBody
public FindRequestBody()Default constructor -
FindRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getMetadataElementTypeName
Return the type of metadata element that the caller is searching for.- Returns:
- open metadata type name
-
setMetadataElementTypeName
Set up the type of metadata element that the caller is searching for.- Parameters:
metadataElementTypeName- open metadata type name
-
getMetadataElementSubtypeNames
Return the list of valid subtypes that the returned metadata elements must belong to.- Returns:
- open metadata type names
-
setMetadataElementSubtypeNames
Set up the list of valid subtypes that the returned metadata elements must belong to.- Parameters:
metadataElementSubtypeNames- open metadata type names
-
getSearchProperties
public org.odpi.openmetadata.frameworks.governanceaction.search.SearchProperties getSearchProperties()Return the details of the property values that must be true for the returned metadata elements.- Returns:
- property specification
-
setSearchProperties
public void setSearchProperties(org.odpi.openmetadata.frameworks.governanceaction.search.SearchProperties searchProperties) Set up the details of the property values that must be true for the returned metadata elements.- Parameters:
searchProperties- property specification
-
getMatchClassifications
public org.odpi.openmetadata.frameworks.governanceaction.search.SearchClassifications getMatchClassifications()Return details about the classifications that need to be present/absent from the search request.- Returns:
- classification specification
-
setMatchClassifications
public void setMatchClassifications(org.odpi.openmetadata.frameworks.governanceaction.search.SearchClassifications matchClassifications) Set up details about the classifications that need to be present/absent from the search request.- Parameters:
matchClassifications- classification specification
-
toString
JSON-style toString.- Overrides:
toStringin classorg.odpi.openmetadata.commonservices.ffdc.rest.ResultsRequestBody- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classorg.odpi.openmetadata.commonservices.ffdc.rest.ResultsRequestBody- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classorg.odpi.openmetadata.commonservices.ffdc.rest.ResultsRequestBody- Returns:
- int hash code
-