Class SimpleExpression

  • All Implemented Interfaces:
    java.io.Serializable, Criterion

    public class SimpleExpression
    extends java.lang.Object
    implements Criterion
    superclass for "simple" comparisons (with SQL binary operators)
    See Also:
    Serialized Form
    • Constructor Detail

      • SimpleExpression

        protected SimpleExpression​(java.lang.String propertyName,
                                   java.lang.Object value,
                                   java.lang.String op)
      • SimpleExpression

        protected SimpleExpression​(java.lang.String propertyName,
                                   java.lang.Object value,
                                   java.lang.String op,
                                   boolean ignoreCase)
    • Method Detail

      • getOp

        public final java.lang.String getOp()
      • getPropertyName

        public java.lang.String getPropertyName()
      • getValue

        public java.lang.Object getValue()
      • ignoreCase

        public SimpleExpression ignoreCase()
        Make case insensitive. No effect for non-String values
        Returns:
        this, for method chaining
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object