Class PBaseTime<R,T extends Comparable>

Type Parameters:
R - the root query bean type
T - the number type
All Implemented Interfaces:
io.ebean.Query.Property<T>
Direct Known Subclasses:
PJodaLocalTime, PLocalTime, POffsetTime, PTime

public abstract class PBaseTime<R,T extends Comparable> extends PBaseComparable<R,T>
Base property for time types.
  • Constructor Details

    • PBaseTime

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

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

    • after

      public final R after(T value)
      Same as greater than.
      Parameters:
      value - the equal to bind value
      Returns:
      the root query bean instance
    • before

      public final R before(T value)
      Same as less than.
      Parameters:
      value - the equal to bind value
      Returns:
      the root query bean instance