Class TQProperty<R,T>

java.lang.Object
io.ebean.typequery.TQProperty<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:
TQAssoc, TQPropertyBase

public class TQProperty<R,T> extends Object implements io.ebean.Query.Property<T>
A property used in type query.
  • Field Details

    • _name

      protected final String _name
    • _root

      protected final R _root
  • Constructor Details

    • TQProperty

      public TQProperty(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
    • TQProperty

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

    • toString

      public String toString()
      Specified by:
      toString in interface io.ebean.Query.Property<R>
      Overrides:
      toString in class Object
    • expr

      protected final io.ebean.ExpressionList<?> expr()
      Internal method to return the underlying expression list.
    • propertyName

      protected final String propertyName()
      Return the property name.
    • isNull

      public final R isNull()
      Is null.
    • isNotNull

      public final R isNotNull()
      Is not null.