Class EntityNeighborhoodFindRequest
java.lang.Object
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIFindRequest
org.odpi.openmetadata.repositoryservices.rest.properties.EntityNeighborhoodFindRequest
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EntityNeighborhoodHistoricalFindRequest
EntityNeighborhoodFindRequest adds the ability to restrict a neighborhood find request to only
traversing specific relationship types.
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the list of entity types that should restrict the find request.Return the list of entity classifications that should restrict the find request.Return the list of relationship type guids that limit the find request.int
hashCode()
Create a hash code for this element type.void
setEntityTypeGUIDs
(List<String> entityTypeGUIDs) Set up the list of entity types that should restrict the find request.void
setLimitResultsByClassification
(List<String> limitResultsByClassification) Set up the list of entity classifications that should restrict the find request.void
setRelationshipTypeGUIDs
(List<String> relationshipTypeGUIDs) Set up the list of relationship type guids that limit the find request.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIFindRequest
getLimitResultsByStatus, setLimitResultsByStatus
-
Constructor Details
-
EntityNeighborhoodFindRequest
public EntityNeighborhoodFindRequest()Default constructor -
EntityNeighborhoodFindRequest
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getEntityTypeGUIDs
Return the list of entity types that should restrict the find request.- Returns:
- list of guids
-
setEntityTypeGUIDs
Set up the list of entity types that should restrict the find request.- Parameters:
entityTypeGUIDs
- list of guids
-
getLimitResultsByClassification
Return the list of entity classifications that should restrict the find request.- Returns:
- list of classification names
-
setLimitResultsByClassification
Set up the list of entity classifications that should restrict the find request.- Parameters:
limitResultsByClassification
- list of classification names
-
getRelationshipTypeGUIDs
Return the list of relationship type guids that limit the find request.- Returns:
- list of guids
-
setRelationshipTypeGUIDs
Set up the list of relationship type guids that limit the find request.- Parameters:
relationshipTypeGUIDs
- list of guids
-
toString
Standard toString method.- Overrides:
toString
in classOMRSAPIFindRequest
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classOMRSAPIFindRequest
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCode
in classOMRSAPIFindRequest
- Returns:
- int hash code
-