Class PBaseNumber<R,​T extends Comparable>

    • Constructor Detail

      • PBaseNumber

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

        public PBaseNumber​(String name,
                           R root,
                           String prefix)
        Construct with additional path prefix.
    • Method Detail

      • equalTo

        public R equalTo​(int value)
        Is equal to.
        Parameters:
        value - the equal to bind value
        Returns:
        the root query bean instance
      • greaterThan

        public R greaterThan​(int value)
        Greater than.
        Parameters:
        value - the equal to bind value
        Returns:
        the root query bean instance
      • lessThan

        public R lessThan​(int value)
        Less than.
        Parameters:
        value - the equal to bind value
        Returns:
        the root query bean instance
      • eq

        public R eq​(int value)
        Is equal to.
        Parameters:
        value - the equal to bind value
        Returns:
        the root query bean instance
      • gt

        public R gt​(int value)
        Greater than.
        Parameters:
        value - the equal to bind value
        Returns:
        the root query bean instance
      • lt

        public R lt​(int value)
        Less than.
        Parameters:
        value - the equal to bind value
        Returns:
        the root query bean instance
      • between

        public R between​(int lower,
                         int upper)
        Between lower and upper values.
        Parameters:
        lower - the lower bind value
        upper - the upper bind value
        Returns:
        the root query bean instance