Package com.collibra.dgc.core.api.model.meta.path

# 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 Summary

  Modifier and Type
  Method
  Description
  `ResourceFilter`
  `getAny()`
  Returns the ANY filter - matches if any of the relations match this filter.
  `Boolean`
  `getIsEmpty()`
  Returns whether to match empty collections.
  `ResourceFilter`
  `getNone()`
  Returns the NONE filter - matches if none of the relations match this filter.
  `MetaResourceReference`
  `getType()`
  Returns a reference to the type for this relation collection filter.

  ### Methods inherited from interface HasToRequest

  `toRequest`

- ## Method Details

  - ### getType

    MetaResourceReference 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