Caplin Trader 4.0.3

Class: module:caplin/grid/filter/FieldFilterExpression/Operator

module:caplin/grid/filter/FieldFilterExpression/Operator

Summary

Singleton that provides all of the valid operator values that can be passed into the module:caplin/grid/filter/FieldFilterExpression's constructor.

Constructor

new module:caplin/grid/filter/FieldFilterExpression/Operator()

Members

(static) CASE_INSENSITIVE_REGULAR_EXPRESSION :String

Operator used to check that a string field matches a particular regular expression where an exact case match is not necessary.

The value of this operator is '#'.

Type:
  • String

(static) EQUAL :String

Operator used to check for an exact match between a field and a value. This can be used for both string and numeric based values.

The value of this operator is '='.

Type:
  • String

(static) GREATER_THAN :String

Operator used to check that a numeric field is greater than a particular value.

The value of this operator is '>'.

Type:
  • String

(static) GREATER_THAN_OR_EQUAL :String

Operator used to check that a numeric field is greater than or equal to a particular value.

The value of this operator is '>='.

Type:
  • String

(static) LESS_THAN :String

Operator used to check that a numeric field is less than a particular value.

The value of this operator is '<'.

Type:
  • String

(static) LESS_THAN_OR_EQUAL :String

Operator used to check that a numeric field is less than or equal to a value.

The value of this operator is '<='.

Type:
  • String

(static) NOT_EQUAL :String

Operator used to check that a field does not match a particular value. This can be used for both string and numeric based values.

The value of this operator is '!='.

Type:
  • String

(static) NUMERIC_EQUAL :String

Operator used to check for a numeric match between a field and a value. This can be used for numeric value only, and unlike a normal equals, entering 5.000 will match a value of 5, whereas it won't with the generic equals operator.

The value of this operator is '=='.

Type:
  • String

(static) NUMERIC_NOT_EQUAL :String

Operator used to check for a numeric match between a field and a value not to be equal. This can be used for numeric value only, and unlike a normal equals, entering 5.000 will match a value of 5, whereas it won't with the generic equals operator.

The value of this operator is '!=='.

Type:
  • String

(static) REGULAR_EXPRESSION :String

Operator used to check that a string field matches a particular regular expression.

The value of this operator is '~'.

Type:
  • String