public class QueryConditionBoolean extends QueryConditionBase
Modifier and Type | Class and Description |
---|---|
static class |
QueryConditionBoolean.MatchMode
The available match modes.
|
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
void |
checkConfiguration(java.util.Locale locale)
Checks the current configuration for its validity.
|
QueryConditionBoolean.MatchMode |
getMatchMode()
Returns the current match mode
|
void |
setMatchMode(QueryConditionBoolean.MatchMode matchMode)
Sets the current match mode
|
java.lang.String |
toDisplayString(java.util.Locale locale,
FieldDefinition fieldDefinition)
Converts this configuration into a presentable display string.
|
java.lang.String |
toQueryString(java.util.Locale locale,
FieldDefinition fieldDefinition)
Returns a query string that represents this configuration.
|
getFieldData, isDoesNotMatchMode, isFieldDataMode
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public QueryConditionBoolean.MatchMode getMatchMode()
public void setMatchMode(QueryConditionBoolean.MatchMode matchMode)
matchMode
- new match modepublic void checkConfiguration(java.util.Locale locale) throws InvalidStateException
locale
- Locale to use when checking this instanceInvalidStateException
- if the current state is not validpublic java.lang.String toDisplayString(java.util.Locale locale, FieldDefinition fieldDefinition)
locale
- Locale to use for creating the display stringfieldDefinition
- FieldDefinition of the field to create the display string forpublic java.lang.String toQueryString(java.util.Locale locale, FieldDefinition fieldDefinition)
toQueryString
in class QueryConditionBase
locale
- Locale to use for creating the queryfieldDefinition
- the field definition of the field to create this query forwww.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.