Class FindRelationsRequest
Object
PagedRequest
CursorPagedRequest
FindRelationsRequest
- All Implemented Interfaces:
Serializable
The search criteria for relations.
Only parameters that are specified in this request and have not null
values are used for filtering.
All other parameters are ignored.
The returned relations satisfy all constraints that are specified in this search criteria.
By default a result containing 1000 relations is returned.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class PagedRequest
countLimit, limit, offset
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FindRelationsRequest.Builder
builder()
protected boolean
boolean
The ID of the type of relations to search for.The ID of the source of relations to search for.The logical operator determining how to combine the source and target criteria: AND or OR.The ID of the target of relations to search for.The public ID of the type of relations to search for.int
hashCode()
void
setRelationTypeId
(UUID relationTypeId) The ID of the type of relations to search for.void
setSourceId
(UUID sourceId) The ID of the source of relations to search for.void
setSourceTargetLogicalOperator
(LogicalOperator sourceTargetLogicalOperator) The logical operator determining how to combine the source and target criteria: AND or OR.void
setTargetId
(UUID targetId) The ID of the target of relations to search for.void
setTypePublicId
(String typePublicId) The public ID of the type of relations to search for.toString()
Methods inherited from class CursorPagedRequest
getCountLimit, getCursor, getOffset, setCountLimit, setCursor, setOffset
Methods inherited from class PagedRequest
getLimit, isPagingActive, setLimit
-
Constructor Details
-
FindRelationsRequest
public FindRelationsRequest()
-
-
Method Details
-
builder
-
getRelationTypeId
The ID of the type of relations to search for. -
getSourceId
The ID of the source of relations to search for. -
getTargetId
The ID of the target of relations to search for. -
getSourceTargetLogicalOperator
The logical operator determining how to combine the source and target criteria: AND or OR. Defaults toAND
. -
getTypePublicId
The public ID of the type of relations to search for. -
setRelationTypeId
The ID of the type of relations to search for. -
setSourceId
The ID of the source of relations to search for. -
setTargetId
The ID of the target of relations to search for. -
setSourceTargetLogicalOperator
The logical operator determining how to combine the source and target criteria: AND or OR. Defaults toAND
. -
setTypePublicId
The public ID of the type of relations to search for. -
equals
- Overrides:
equals
in classCursorPagedRequest
-
canEqual
- Overrides:
canEqual
in classCursorPagedRequest
-
hashCode
public int hashCode()- Overrides:
hashCode
in classCursorPagedRequest
-
toString
- Overrides:
toString
in classCursorPagedRequest
-