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:
  • Constructor Details

    • FindRelationsRequest

      public FindRelationsRequest()
  • Method Details

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

      public String getTypePublicId()
      The public ID of the type of relations to search for.
    • 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.
    • setTypePublicId

      public void setTypePublicId(String typePublicId)
      The public ID of the type of relations to search for.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class CursorPagedRequest
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class CursorPagedRequest
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class CursorPagedRequest
    • toString

      public String toString()
      Overrides:
      toString in class CursorPagedRequest