Skip to main content

MapFilterRule

geovisto-mapReadme | API


geovisto-map / MapFilterRule

Class: MapFilterRule

This class wraps dataDomain, filterOperation, pattern which represents a filter rule.

Author

Jiri Hynek

Implements

Constructors

new MapFilterRule()

new MapFilterRule(dataDomain, operation, pattern): MapFilterRule

It creates a filter rule composed of given data domain, operation and pattern.

Parameters

dataDomain: IMapDataDomain

operation: IMapFilterOperation

pattern: string

Returns

MapFilterRule

Source

model/internal/filter/basic/MapFilterRule.ts:24

Properties

dataDomain

private dataDomain: IMapDataDomain

Source

model/internal/filter/basic/MapFilterRule.ts:11


operation

private operation: IMapFilterOperation

Source

model/internal/filter/basic/MapFilterRule.ts:13


pattern

private pattern: string

Source

model/internal/filter/basic/MapFilterRule.ts:15

Methods

getDataDomain()

getDataDomain(): IMapDataDomain

It returns the the data domain which should be analyzed.

Returns

IMapDataDomain

Implementation of

IMapFilterRule.getDataDomain

Source

model/internal/filter/basic/MapFilterRule.ts:33


getFilterOperation()

getFilterOperation(): IMapFilterOperation

It returns the filter operation used for the filtering.

Returns

IMapFilterOperation

Implementation of

IMapFilterRule.getFilterOperation

Source

model/internal/filter/basic/MapFilterRule.ts:40


getPattern()

getPattern(): string

It returns the string label of the filter representing operator given by the parameter of constructor.

Returns

string

Implementation of

IMapFilterRule.getPattern

Source

model/internal/filter/basic/MapFilterRule.ts:47