Module jpastreamer.field
Interface HasBooleanOperators<ENTITY>
- Type Parameters:
ENTITY- the entity type
- All Superinterfaces:
Field<ENTITY>,HasColumnName,HasGetter<ENTITY>,HasTable<ENTITY>
- All Known Subinterfaces:
BooleanField<ENTITY>
A representation of an Entity field that is of boolean type
- Since:
- 3.0.17
- Author:
- Per Minborg
-
Method Summary
Modifier and TypeMethodDescriptionequal(boolean value) Returns aPredicatethat will evaluate totrue, if and only if this Field is equal to the given value.default SpeedmentPredicate<ENTITY>isFalse()Returns aPredicatethat will evaluate totrue, if and only if this Field is falsedefault SpeedmentPredicate<ENTITY>isTrue()Returns aPredicatethat will evaluate totrue, if and only if this Field is truenotEqual(boolean value) Returns aPredicatethat will evaluate totrue, if and only if this Field is not equal to the given value.Methods inherited from interface com.speedment.jpastreamer.field.trait.HasColumnName
columnName
-
Method Details
-
equal
Returns aPredicatethat will evaluate totrue, 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
Returns aPredicatethat will evaluate totrue, 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
Returns aPredicatethat will evaluate totrue, 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
Returns aPredicatethat will evaluate totrue, if and only if this Field is false- Returns:
- a Predicate that will evaluate to
true, if and only if this Field is false.
-