Class PBoolean<R>

    • Constructor Detail

      • 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 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