Class Filter

java.lang.Object
com.sanctionco.opconnect.model.Filter

public class Filter extends Object
Represents SCIM-style filter that can be used to filter list requests server-side.
  • Method Details

    • getFilter

      public String getFilter()
      Get the string value of the filter.
      Returns:
      the string value of the filter
    • and

      public Filter and(Filter other)
      Create a new Filter, concatenating the provided filter using the and operator.
      Parameters:
      other - the other filter to concatenate to this one
      Returns:
      the new filter
    • or

      public Filter or(Filter other)
      Create a new Filter, concatenating the provided filter using the or operator.
      Parameters:
      other - the other filter to concatenate to this one
      Returns:
      the new filter
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object
    • title

      public static Filter.Builder title()
      Create a new title Filter builder.
      Returns:
      a new Filter.Builder
    • name

      public static Filter.Builder name()
      Create a new name Filter builder.
      Returns:
      a new Filter.Builder
    • onProperty

      public static Filter.Builder onProperty(String property)
      Create a new Filter builder on the given property.
      Parameters:
      property - the property to filter on
      Returns:
      a new Filter.Builder