Class FindRelationsRequest
- Object
-
- PagedRequest
-
- CursorPagedRequest
-
- FindRelationsRequest
-
- All Implemented Interfaces:
Serializable
public class FindRelationsRequest extends CursorPagedRequest implements 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FindRelationsRequest.Builder
-
Field Summary
-
Fields inherited from class PagedRequest
countLimit, limit, offset
-
-
Constructor Summary
Constructors Constructor Description FindRelationsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FindRelationsRequest.Builder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
UUID
getRelationTypeId()
The ID of the type of relations to search for.UUID
getSourceId()
The ID of the source of relations to search for.LogicalOperator
getSourceTargetLogicalOperator()
The logical operator determining how to combine the source and target criteria: AND or OR.UUID
getTargetId()
The ID of the target 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.String
toString()
-
Methods inherited from class CursorPagedRequest
getCountLimit, getCursor, getOffset, setCountLimit, setCursor, setOffset
-
Methods inherited from class PagedRequest
getLimit, isPagingActive, setLimit
-
-
-
-
Method Detail
-
builder
public static FindRelationsRequest.Builder builder()
-
getRelationTypeId
public UUID getRelationTypeId()
The ID of the type of relations to search for.
-
getSourceId
public UUID getSourceId()
The ID of the source of relations to search for.
-
getTargetId
public UUID getTargetId()
The ID of the target of relations to search for.
-
getSourceTargetLogicalOperator
public LogicalOperator getSourceTargetLogicalOperator()
The logical operator determining how to combine the source and target criteria: AND or OR. Defaults toAND
.
-
setRelationTypeId
public void setRelationTypeId(UUID relationTypeId)
The ID of the type of relations to search for.
-
setSourceId
public void setSourceId(UUID sourceId)
The ID of the source of relations to search for.
-
setTargetId
public void setTargetId(UUID targetId)
The ID of the target of relations to search for.
-
setSourceTargetLogicalOperator
public void setSourceTargetLogicalOperator(LogicalOperator sourceTargetLogicalOperator)
The logical operator determining how to combine the source and target criteria: AND or OR. Defaults toAND
.
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classCursorPagedRequest
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqual
in classCursorPagedRequest
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCursorPagedRequest
-
toString
public String toString()
- Overrides:
toString
in classCursorPagedRequest
-
-