Class 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
    • Constructor Detail

      • FindRelationsRequest

        public FindRelationsRequest()
    • Method Detail

      • 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 to AND.
      • 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 to AND.