Enum Class Domain.Operator

java.lang.Object
java.lang.Enum<Domain.Operator>
io.openems.backend.metadata.odoo.odoo.Domain.Operator
All Implemented Interfaces:
Serializable, Comparable<Domain.Operator>, Constable
Enclosing class:
Domain

public static enum Domain.Operator extends Enum<Domain.Operator>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Returns case sensitive (exact match - 'open').
    Returns exact (= 'open' or 'Open') case insensitive.
    Returns exact (= 'open') case sensitive search.
    Returns results greater or equal of given input.
    Returns results greater than given input (other value greater than - '10').
    Returns exact case insensitive (wildcards - '%open%').
    in operator will check the value1 is present or not in list of right term.
    Returns results less or equal of given input.
    Returns case sensitive (wildcards - '%open%').
    Returns results less than given input (other value less than - '10').
    Returns results not matched with given input (other than - 'open').
    Returns results not matched with exact case insensitive (wildcards - '%open%').
    not in operator will check the value1 is not present in list of right term.
    Returns results not matched with case sensitive (wildcards - '%open%').
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • LIKE

      public static final Domain.Operator LIKE
      Returns case sensitive (wildcards - '%open%').
      e.g.: [('input', 'like', 'open')] => open, opensource, openerp, Odooopenerp
    • NOT_LIKE

      public static final Domain.Operator NOT_LIKE
      Returns results not matched with case sensitive (wildcards - '%open%').
      e.g.: [('input', 'not like', 'open')] => Openerp, Opensource, Open, Odoo, odoo, OdooOpenerp
    • EQ_LIKE

      public static final Domain.Operator EQ_LIKE
      Returns exact (= 'open') case sensitive search.
      e.g.: [('name', '=like', 'open')] => open
    • I_LIKE

      public static final Domain.Operator I_LIKE
      Returns exact case insensitive (wildcards - '%open%').
      e.g.: [('name', 'ilike', 'open')] => Openerp, openerp, Opensource, opensource, Open, open, Odooopenerp, OdooOpenerp
    • NOT_I_LIKE

      public static final Domain.Operator NOT_I_LIKE
      Returns results not matched with exact case insensitive (wildcards - '%open%').
      e.g.: [('name', 'not ilike', 'open')] => Odoo, odoo
    • EQ_I_LIKE

      public static final Domain.Operator EQ_I_LIKE
      Returns exact (= 'open' or 'Open') case insensitive.
      e.g.: [('name', '=ilike', 'open')] => Open, open
    • IN

      public static final Domain.Operator IN
      in operator will check the value1 is present or not in list of right term.
    • NOT_IN

      public static final Domain.Operator NOT_IN
      not in operator will check the value1 is not present in list of right term.
    • EQ

      public static final Domain.Operator EQ
      Returns case sensitive (exact match - 'open').
      e.g.: [('input', '=', 'open')] => open
    • NE

      public static final Domain.Operator NE
      Returns results not matched with given input (other than - 'open').
      e.g.: [('input', '!=', 'open')] => "other than open records"
    • GT

      public static final Domain.Operator GT
      Returns results greater than given input (other value greater than - '10').
      e.g.: [('input', '>', '10')] => 11, 12, 13
    • GE

      public static final Domain.Operator GE
      Returns results greater or equal of given input.
      e.g.: [('input', '>=', '10')] => 10, 11, 12, 13
    • LT

      public static final Domain.Operator LT
      Returns results less than given input (other value less than - '10').
      e.g.: [('input', 'invalid input: '<'', '10')] => 9, 8, 7
    • LE

      public static final Domain.Operator LE
      Returns results less or equal of given input.
      e.g.: [('input', 'invalid input: '<'=', '10')] => 10, 9, 8, 7
  • Method Details

    • values

      public static Domain.Operator[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Domain.Operator valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()