Class QueryModel.PropertyCriterion

    • Field Detail

      • value

        protected java.lang.Object value
    • Constructor Detail

      • PropertyCriterion

        public PropertyCriterion​(java.lang.String name,
                                 java.lang.Object value)
        Default constructor.
        Parameters:
        name - The property name
        value - The criterion value
    • Method Detail

      • getValue

        public java.lang.Object getValue()
        Returns:
        The value
      • setValue

        public void setValue​(java.lang.Object v)
        Sets the value.
        Parameters:
        v - The value to set
      • isIgnoreCase

        public boolean isIgnoreCase()
        Returns:
        Whether to ignore case,
      • ignoreCase

        public QueryModel.PropertyCriterion ignoreCase​(boolean ignoreCase)
        Sets whether to ignore case.
        Parameters:
        ignoreCase - True if case should be ignored
        Returns:
        This criterion