Interface RelationCollectionFilter

All Superinterfaces:
HasToRequest<RelationCollectionFilterRequest>, Serializable

public interface RelationCollectionFilter extends HasToRequest<RelationCollectionFilterRequest>, Serializable
Represents a collection filter for relations with a specific type. Requires typePublicId and one of: none, any, or isEmpty. minProperties = 2, maxProperties = 2 (none/any/isEmpty are mutually exclusive).
  • Method Details

    • getType

      Returns a reference to the type for this relation collection filter.
      Returns:
      reference to the type
    • getNone

      ResourceFilter getNone()
      Returns the NONE filter - matches if none of the relations match this filter.
      Returns:
      the NONE filter, or null if not specified
    • getAny

      ResourceFilter getAny()
      Returns the ANY filter - matches if any of the relations match this filter.
      Returns:
      the ANY filter, or null if not specified
    • getIsEmpty

      Boolean getIsEmpty()
      Returns whether to match empty collections.
      Returns:
      true if matching empty collections, null if not specified