Class PBoolean<R>

Type Parameters:
R - the root query bean type
All Implemented Interfaces:
io.ebean.Query.Property<Boolean>

public final class PBoolean<R> extends PBaseValueEqual<R,Boolean>
Boolean property.
  • Constructor Details

    • PBoolean

      public PBoolean(String name, R root)
      Construct with a property name and root instance.
      Parameters:
      name - property name
      root - the root query bean instance
    • PBoolean

      public PBoolean(String name, R root, String prefix)
      Construct with additional path prefix.
  • Method Details

    • 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