Class TQProperty<R>

  • Type Parameters:
    R - The type of the owning root bean
    Direct Known Subclasses:
    TQAssocBean, TQPropertyBase

    public class TQProperty<R>
    extends Object
    A property used in type query.
    • Field Detail

      • _name

        protected final String _name
      • _root

        protected final R _root
    • Constructor Detail

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

      • expr

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

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

        public R isNull()
        Is null.
      • isNotNull

        public R isNotNull()
        Is not null.