Interface HasBooleanOperators<ENTITY>

Type Parameters:
ENTITY - the entity type
All Superinterfaces:
Field<ENTITY>, HasColumnName, HasGetter<ENTITY>, HasTable<ENTITY>
All Known Subinterfaces:
BooleanField<ENTITY>

public interface HasBooleanOperators<ENTITY> extends Field<ENTITY>
A representation of an Entity field that is of boolean type
Since:
3.0.17
Author:
Per Minborg
  • Method Details

    • equal

      SpeedmentPredicate<ENTITY> equal(boolean value)
      Returns a Predicate that will evaluate to true, if and only if this Field is equal to the given value.
      Parameters:
      value - to compare
      Returns:
      a Predicate that will evaluate to true, if and only if this Field is equal to the given value
    • notEqual

      SpeedmentPredicate<ENTITY> notEqual(boolean value)
      Returns a Predicate that will evaluate to true, if and only if this Field is not equal to the given value.
      Parameters:
      value - to compare
      Returns:
      a Predicate that will evaluate to true, if and only if this Field is not equal to the given value
    • isTrue

      default SpeedmentPredicate<ENTITY> isTrue()
      Returns a Predicate that will evaluate to true, if and only if this Field is true
      Returns:
      a Predicate that will evaluate to true, if and only if this Field is true.
    • isFalse

      default SpeedmentPredicate<ENTITY> isFalse()
      Returns a Predicate that will evaluate to true, if and only if this Field is false
      Returns:
      a Predicate that will evaluate to true, if and only if this Field is false.