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
- All Implemented Interfaces:
RequestIdService
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 TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.Return the list of entity guids used to match end 1 of the relationships.Return the list of entity guids used to match end 2 of the relationships.Return the end matching search criteria.Return the subtype guids to limit the results of the find request.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.inthashCode()Return hash code for this objectvoidsetEnd1EntityGUIDs(List<String> end1EntityGUIDs) Set up the list of entity guids used to match end 1 of the relationships.voidsetEnd2EntityGUIDs(List<String> end2EntityGUIDs) Set up the list of entity guids used to match end 2 of the relationships.voidsetEndMatchCriteria(EndMatchCriteria endMatchCriteria) Set the end matching search criteria.voidsetRelationshipSubtypeGUIDs(List<String> relationshipSubtypeGUIDs) Set up the subtype guids to limit the results of the find request.voidsetRelationshipTypeName(String relationshipTypeName) Set up the type of relationship that the caller is searching for.voidsetSearchProperties(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, getGovernanceZoneFilter, getIncludeOnlyClassifiedElements, getLimitResultsByStatus, getSequencingOrder, getSequencingProperty, getSkipClassifiedElements, setAnchorDomainName, setAnchorGUID, setAnchorScopeGUID, setGovernanceZoneFilter, setIncludeOnlyClassifiedElements, setLimitResultsByStatus, setSequencingOrder, setSequencingProperty, setSkipClassifiedElementsMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.PagingOptions
getPageSize, getStartFrom, setPageSize, setStartFromMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.GetOptions
getAsOfTime, getGraphQueryDepth, getIncludeOnlyRelationships, getMaxMermaidNodeCount, getMetadataElementSubtypeNames, getMetadataElementTypeName, getRelationshipsPageSize, getSkipRelationships, setAsOfTime, setGraphQueryDepth, setIncludeOnlyRelationships, setMaxMermaidNodeCount, setMetadataElementSubtypeNames, setMetadataElementTypeName, setRelationshipsPageSize, setSkipRelationshipsMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.BasicOptions
getEffectiveTime, getForDuplicateProcessing, getForLineage, getRequestId, setEffectiveTime, setForDuplicateProcessing, setForLineage, setRequestId
-
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
-
getRelationshipSubtypeGUIDs
Return the subtype guids to limit the results of the find request.- Returns:
List<String>guids
-
setRelationshipSubtypeGUIDs
Set up the subtype guids to limit the results of the find request.- Parameters:
relationshipSubtypeGUIDs-List<String>guids
-
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
-
getEnd1EntityGUIDs
Return the list of entity guids used to match end 1 of the relationships.- Returns:
- list of guids
-
setEnd1EntityGUIDs
Set up the list of entity guids used to match end 1 of the relationships.- Parameters:
end1EntityGUIDs- list of guids
-
getEnd2EntityGUIDs
Return the list of entity guids used to match end 2 of the relationships.- Returns:
- list of guids
-
setEnd2EntityGUIDs
Set up the list of entity guids used to match end 2 of the relationships.- Parameters:
end2EntityGUIDs- list of guids
-
getEndMatchCriteria
Return the end matching search criteria.- Returns:
- SearchClassifications
-
setEndMatchCriteria
Set the end matching search criteria.- Parameters:
endMatchCriteria- to set as search criteria
-
toString
JSON-style toString.- Overrides:
toStringin classResultsRequestBody- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classQueryOptions- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classQueryOptions- Returns:
- int hash code
-