Class FindRequestBody
java.lang.Object
org.odpi.openmetadata.frameworkservices.gaf.rest.FindRequestBody
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.Return the time used for a historical query - null mean current repository contents.List<org.odpi.openmetadata.frameworks.openmetadata.enums.ElementStatus>Return the status values that the resulting metadata elements must match.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.org.odpi.openmetadata.frameworks.openmetadata.enums.SequencingOrderReturn the order that the results should be returned in.Return the name of the property whose value will be used to sequence the results.inthashCode()Return hash code for this objectvoidsetAsOfTime(Date asOfTime) Set up the time used for a historical query - null mean current repository contents.voidsetLimitResultsByStatus(List<org.odpi.openmetadata.frameworks.openmetadata.enums.ElementStatus> limitResultsByStatus) Set up the status values that the resulting metadata elements must match.voidsetMatchClassifications(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.voidsetSequencingOrder(org.odpi.openmetadata.frameworks.openmetadata.enums.SequencingOrder sequencingOrder) Set up the order that the results should be returned in.voidsetSequencingProperty(String sequencingProperty) Set up the name of the property whose value will be used to sequence the results.toString()JSON-style toString.
-
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
-
getLimitResultsByStatus
public List<org.odpi.openmetadata.frameworks.openmetadata.enums.ElementStatus> getLimitResultsByStatus()Return the status values that the resulting metadata elements must match. By default, relationships in all non-DELETED statuses are returned. However, it is possible to specify a list of statuses (eg ACTIVE) to restrict the results to. Null means all status values except DELETED.- Returns:
- status values
-
setLimitResultsByStatus
public void setLimitResultsByStatus(List<org.odpi.openmetadata.frameworks.openmetadata.enums.ElementStatus> limitResultsByStatus) Set up the status values that the resulting metadata elements must match.- Parameters:
limitResultsByStatus- By default, relationships in all non-DELETED statuses are returned. However, it is possible to specify a list of statuses (eg ACTIVE) to restrict the results to. Null means all status values except DELETED.
-
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
-
getAsOfTime
Return the time used for a historical query - null mean current repository contents.- Returns:
- date/time object
-
setAsOfTime
Set up the time used for a historical query - null mean current repository contents.- Parameters:
asOfTime- date/time object
-
getSequencingProperty
Return the name of the property whose value will be used to sequence the results.- Returns:
- property name
-
setSequencingProperty
Set up the name of the property whose value will be used to sequence the results.- Parameters:
sequencingProperty- property name
-
getSequencingOrder
public org.odpi.openmetadata.frameworks.openmetadata.enums.SequencingOrder getSequencingOrder()Return the order that the results should be returned in.- Returns:
- enum for the sequencing order
-
setSequencingOrder
public void setSequencingOrder(org.odpi.openmetadata.frameworks.openmetadata.enums.SequencingOrder sequencingOrder) Set up the order that the results should be returned in.- Parameters:
sequencingOrder- enum for the sequencing order
-
toString
JSON-style toString. -
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-