- java.lang.Object
-
- io.ebean.typequery.TQProperty<R>
-
- io.ebean.typequery.TQPropertyBase<R>
-
- io.ebean.typequery.PBaseValueEqual<R,Boolean>
-
- io.ebean.typequery.PBoolean<R>
-
- Type Parameters:
R- the root query bean type
public final class PBoolean<R> extends PBaseValueEqual<R,Boolean>
Boolean property.
-
-
Field Summary
-
Fields inherited from class io.ebean.typequery.TQProperty
_name, _root
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Req(boolean value)Is true or false based on the bind value.Ris(boolean value)Is true or false based on the bind value.RisFalse()Is false.RisTrue()Is true.-
Methods inherited from class io.ebean.typequery.PBaseValueEqual
asMapKey, eq, eqOrNull, equalTo, equalToOrNull, in, in, in, inOrEmpty, isIn, isIn, isIn, ne, notEqualTo, notIn, notIn
-
Methods inherited from class io.ebean.typequery.TQPropertyBase
asc, desc
-
Methods inherited from class io.ebean.typequery.TQProperty
expr, isNotNull, isNull, propertyName, toString
-
-
-
-
Method Detail
-
isTrue
public R isTrue()
Is true.- Returns:
- the root query bean instance
-
isFalse
public R isFalse()
Is false.- Returns:
- the root query bean instance
-
is
public R is(boolean value)
Is true or false based on the bind value.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
eq
public R eq(boolean value)
Is true or false based on the bind value.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
-