Class SimplePredicate<S extends SearchParameter>

java.lang.Object
org.gbif.api.model.predicate.SimplePredicate<S>
All Implemented Interfaces:
Serializable, Predicate
Direct Known Subclasses:
EqualsPredicate, GreaterThanOrEqualsPredicate, GreaterThanPredicate, LessThanOrEqualsPredicate, LessThanPredicate, LikePredicate

public class SimplePredicate<S extends SearchParameter> extends Object implements Predicate
See Also:
  • Method Details

    • getKey

      public S getKey()
    • getValue

      public String getValue()
    • isMatchCase

      This flag enables the use of case-sensitive matches and aggregations on certain search parameters.

      Fields that support this feature are: occurrenceId, recordedBy, samplingProtocol, catalogNumber, collectionCode, institutionCode, eventId, parentEventId, waterBody, stateProvince, recordNumber, identifiedBy, organismId and locality.

      This is an experimental feature and its implementation map change or be removed at any time.

    • 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