public class Filter
extends java.lang.Object
property op value
. property
is
the name of the property. The operators are defined by the
Operator enum. The value is generally a String, but the
class also has constructors for some custom filter and
data type combinations.Modifier and Type | Class and Description |
---|---|
static class |
Filter.Operator |
Constructor and Description |
---|
Filter(java.lang.String property,
boolean isNull)
Create a filter specifying whether an object property
has a value or not.
|
Filter(java.lang.String property,
Filter.Operator op,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
void |
buildURL(java.lang.StringBuilder url)
Appends the filter to a URL string.
|
public Filter(java.lang.String property, Filter.Operator op, java.lang.String value)
property
- property nameop
- defined by Operator enumvalue
- value of the filter operationpublic Filter(java.lang.String property, boolean isNull)
property
- name of object propertyisNull
- true to only get objects where this property is null