public abstract class QueryConditionBase extends BaseManager
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
java.util.List<? extends FieldData> |
getFieldData()
Returns the instances of
FieldData . |
boolean |
isDoesNotMatchMode()
Return whether this condition is configured to find all items that do not match the condition.
|
boolean |
isFieldDataMode()
Returns whether this instance uses instances of
FieldData as query content. |
java.lang.String |
toQueryString(java.util.Locale locale,
FieldDefinition fieldDefinition)
Returns the query string for this instance.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public boolean isFieldDataMode()
FieldData
as query content.FieldData
as query contentpublic java.util.List<? extends FieldData> getFieldData()
FieldData
. Should only be called if isFieldDataMode()
returned true.FieldData
public java.lang.String toQueryString(java.util.Locale locale, FieldDefinition fieldDefinition)
isFieldDataMode()
returned false. Otherwise for some data types (ie. QueryConditionDouble
this might return query strings that are not 100% accurate or not even implemented.locale
- Locale to use for creating the queryfieldDefinition
- the field definition of the field to create this query forpublic boolean isDoesNotMatchMode()
true
if this condition is configured to find all items that do not match the condition. false
otherwise.www.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.