Interface SourceCriteria

All Known Implementing Classes:
BasicCoreCriteria, BasicLocationRequestCriteria, BasicUserEventFilter, BasicUserMetadataFilter

public interface SourceCriteria
Search criteria for source related data.
Since:
2.8
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the first source ID.
    Get an array of source IDs.
    default boolean
    Test if this filter has any source criteria.
  • Method Details

    • getSourceId

      String getSourceId()
      Get the first source ID.

      This returns the first available source ID from the getSourceIds() array, or null if not available.

      Returns:
      the first source ID, or null if not available
    • getSourceIds

      String[] getSourceIds()
      Get an array of source IDs.
      Returns:
      array of source IDs (may be null)
    • hasSourceCriteria

      default boolean hasSourceCriteria()
      Test if this filter has any source criteria.
      Returns:
      true if the source ID is non-null
      Since:
      1.1