Operator

A Condition.Operator is a specific type of predicate, that applies some functionality to a given DataItem, and determines if it matches a given target filter value.

Types

Link copied to clipboard

Properties

Link copied to clipboard
abstract val id: String

The id of this Operator for the purposes of reading to/from a DataItem/DataObject

Functions

Link copied to clipboard
abstract fun apply(dataItem: DataItem?, filter: StringContainer?): Boolean

Called to determine if the given dataItem matches the filter for this Operator.

Link copied to clipboard
open override fun asDataItem(): DataItem

Should return an instance of a DataItem that represents all required properties of the implementing class, such that it could be: