Class TQPropertyBase<R,T>

java.lang.Object
io.ebean.typequery.TQProperty<R,T>
io.ebean.typequery.TQPropertyBase<R,T>
Type Parameters:
R - The type of the owning root bean
T - The property type
All Implemented Interfaces:
io.ebean.Query.Property<T>
Direct Known Subclasses:
PArray, PBaseValueEqual, PFile, PJson

public abstract class TQPropertyBase<R,T> extends TQProperty<R,T>
Base scalar property.
  • Constructor Details

    • TQPropertyBase

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

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

    • asc

      public final R asc()
      Order by ascending on this property.
    • desc

      public final R desc()
      Order by descending on this property.