public class Operator extends RefDataClass
DataSource.addSearchOperator()
to define custom filtering behaviors for client-side filtering.id
factoryCreated, factoryProperties, readOnly
Constructor and Description |
---|
Operator() |
Modifier and Type | Method and Description |
---|---|
void |
setEditorType(java.lang.String editorType)
For an operator with
OperatorValueType.CUSTOM ,
indicates what kind of FormItem to use to provide a user interface for creating a valid
Criterion . |
void |
setID(java.lang.String id)
Unique id for an operator, which appears within
AdvancedCriteria
as the Operator property. |
void |
setTitle(java.lang.String title)
User-visible title for this operator, such as "doesn't contain".
|
void |
setValueType(OperatorValueType valueType)
Indicates the kind of value expected in a
Criterion that uses this operator. |
getRef, getRef, internalSetID
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, getReadOnly, isFactoryCreated, logConfiguration, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated, setReadOnly
public void setID(java.lang.String id)
AdvancedCriteria
as the Operator
property.
A list of built-in identifiers is here
.
id
- public void setTitle(java.lang.String title)
title
- public void setValueType(OperatorValueType valueType)
Criterion
that uses this operator.
OperatorValueType
lists possibilities.
The default of null
is equivalent to "fieldType", indicating that
Criterion.getValue()
is expected to contain a value
of the same type as the field indicated by
Criterion.getFieldName()
.
valueType
- public void setEditorType(java.lang.String editorType)
OperatorValueType.CUSTOM
,
indicates what kind of FormItem to use to provide a user interface for creating a valid
Criterion
. The default of null
means an ordinary
TextItem is fine.editorType
-