Class FindRelationshipRequestBody
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.search.BasicOptions
org.odpi.openmetadata.frameworks.openmetadata.search.GetOptions
org.odpi.openmetadata.frameworks.openmetadata.search.PagingOptions
org.odpi.openmetadata.frameworks.openmetadata.search.QueryOptions
org.odpi.openmetadata.commonservices.ffdc.rest.ResultsRequestBody
org.odpi.openmetadata.frameworkservices.omf.rest.FindRelationshipRequestBody
FindRelationshipRequestBody provides a structure for passing the properties for the find relationships request.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorFindRelationshipRequestBody
(QueryOptions template) Copy/clone constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the type of relationship that the caller is searching for.Return the details of the property values that must be true for the returned metadata elements.int
hashCode()
Return hash code for this objectvoid
setRelationshipTypeName
(String relationshipTypeName) Set up the type of relationship that the caller is searching for.void
setSearchProperties
(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.frameworks.openmetadata.search.QueryOptions
getAnchorDomainName, getAnchorGUID, getAnchorScopeGUID, getLimitResultsByStatus, getSequencingOrder, getSequencingProperty, setAnchorDomainName, setAnchorGUID, setAnchorScopeGUID, setLimitResultsByStatus, setSequencingOrder, setSequencingProperty
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.PagingOptions
getPageSize, getStartFrom, setPageSize, setStartFrom
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.GetOptions
getAsOfTime, getGraphQueryDepth, getIncludeOnlyClassifiedElements, getIncludeOnlyRelationships, getMetadataElementSubtypeNames, getMetadataElementTypeName, getRelationshipsPageSize, getSkipClassifiedElements, getSkipRelationships, setAsOfTime, setGraphQueryDepth, setIncludeOnlyClassifiedElements, setIncludeOnlyRelationships, setMetadataElementSubtypeNames, setMetadataElementTypeName, setRelationshipsPageSize, setSkipClassifiedElements, setSkipRelationships
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.BasicOptions
getEffectiveTime, getForDuplicateProcessing, getForLineage, getGovernanceZoneFilter, setEffectiveTime, setForDuplicateProcessing, setForLineage, setGovernanceZoneFilter
-
Constructor Details
-
FindRelationshipRequestBody
public FindRelationshipRequestBody()Default constructor -
FindRelationshipRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
FindRelationshipRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getRelationshipTypeName
Return the type of relationship that the caller is searching for.- Returns:
- open metadata type name
-
setRelationshipTypeName
Set up the type of relationship that the caller is searching for.- Parameters:
relationshipTypeName
- open metadata type name
-
getSearchProperties
Return the details of the property values that must be true for the returned metadata elements.- Returns:
- property specification
-
setSearchProperties
Set up the details of the property values that must be true for the returned metadata elements.- Parameters:
searchProperties
- property specification
-
toString
JSON-style toString.- Overrides:
toString
in classResultsRequestBody
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classQueryOptions
- Parameters:
objectToCompare
- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classQueryOptions
- Returns:
- int hash code
-