The interface for FilterExpressions that have various methods to allow the internal state of the object to be queried.
Methods
clone() → {module:ct-grid /filter /Filter Expression Accessor}
Clones this instance of the LogicalFilterExpression
Returns:
a new instance of a LogicalFilterExpression with exactly the same state.
get Filter Expressions() → {Array}
Returns a list of the filter expressions.
The array returned by this method must not be added to or removed from directly — in the future, the array returned may instead be a copy of the internally held array. Instead, the methods on this class should be used to add filter expressions.
Returns:
A list of module:ct-grid/filter/FilterExpression
items.
- Type
- Array
get Number OfFilter Expressions() → {Number}
Gets the number of logical filter expressions that have been placed inside the LogicalFilterExpression.
Returns:
The number of Filter expressions added to date.
- Type
- Number
get Operator() → {module:ct-grid/f ilter /Filter Expression Accessor /Operator}
Gets the operator for this LogicalFilterExpression
Returns:
The operator for this LogicalFilterExpression
- Type
-
module:ct-grid
/filter /Filter Expression Accessor /Operator
to String() → {String}
Gets a text representation of the logical filter expression.
Returns:
A text representation of the expression.
- Type
- String