public class Filter extends Object
A Filter contains information for filtering a blotter by a column or field name on a particular value, for example L1_Status==Open.
Filters can also be regular expressions, but these are generally in the form *USD or USD*.
Modifier and Type | Class and Description |
---|---|
static class |
Filter.Operator
Represents all of the possible Operators that can be used to perform a filter.
|
Constructor and Description |
---|
Filter(String fieldName,
Filter.Operator operator,
String value)
Constructs a Filter for the specified field name, operator and the value
to filter on.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getFieldName()
The field name of the column to filter on.
|
Filter.Operator |
getOperator()
The operator which will be used to perform the filter.
|
String |
getValue()
The value to filter on.
|
int |
hashCode() |
public Filter(String fieldName, Filter.Operator operator, String value)
fieldName
- The field name of the column to filter on.operator
- The operator which represents how the field should be performed.value
- The value to filter on.public String getFieldName()
public Filter.Operator getOperator()
public String getValue()
Copyright © 2015 Caplin Systems.