@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public final class AndFilterCollection extends FilterCollection
FilterCollection
that aggregates one or more child filters with an "and" criteria.Constructor and Description |
---|
AndFilterCollection() |
Modifier and Type | Method and Description |
---|---|
org.json.JSONObject |
toJSON()
Produces JSON representation of this filter. |
addFilter, clearFilters, evaluateFilter, evaluateValue, getFieldName, getFilter, getFilterCount, getFilterExpression, getFilters, resolveFields, setFieldName, setFilterExpression
@ThingworxExtensionApiMethod(since={6,6}) public org.json.JSONObject toJSON() throws org.json.JSONException
CommonPropertyNames.PROP_TYPE
: FilterFactory.FILTER_COMPOSITE_AND
CommonPropertyNames.PROP_FILTERS
: JSONArray of filter JSONs; see FilterCollection.getFilters()
toJSON
in interface IFilter
toJSON
in class FilterCollection
org.json.JSONException
- Upon internal errors