| Constructor and Description |
|---|
IGCSearchCondition(String property,
List<String> listOfValues)
Creates a new search condition directly.
|
IGCSearchCondition(String property,
List<String> listOfValues,
Boolean negated)
Creates a new search condition directly.
|
IGCSearchCondition(String property,
long from,
long to)
Creates a new search condition for a date field with a range of date / time between the two values provided.
|
IGCSearchCondition(String property,
String operator,
Boolean negated)
Creates a new search condition directly.
|
IGCSearchCondition(String property,
String operator,
String value)
Creates a new search condition directly.
|
IGCSearchCondition(String property,
String operator,
String value,
Boolean negated)
Creates a new search condition directly.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.node.ObjectNode |
getConditionObject()
Returns the JSON object representing the condition.
|
Boolean |
getNegated() |
String |
getOperator() |
String |
getProperty() |
String |
getValue() |
List<String> |
getValues() |
void |
setNegated(Boolean negated) |
void |
setOperator(String operator) |
void |
setProperty(String property) |
void |
setValue(String value) |
void |
setValues(List<String> values) |
public IGCSearchCondition(String property, String operator, String value)
property - the property of an asset type to search againstoperator - the comparison operator to usevalue - the value to compare the property againstpublic IGCSearchCondition(String property, String operator, Boolean negated)
property - the property of an asset type to search againstoperator - the comparison operator to usenegated - whether to invert (negate) the comparison operator or notpublic IGCSearchCondition(String property, String operator, String value, Boolean negated)
property - the property of an asset type to search againstoperator - the comparison operator to usevalue - the value to compare the property againstnegated - whether to invert (negate) the comparison operator or notpublic IGCSearchCondition(String property, List<String> listOfValues)
property - the property of an asset type to search againstlistOfValues - the list of values to compare the property againstpublic IGCSearchCondition(String property, List<String> listOfValues, Boolean negated)
property - the property of an asset type to search againstlistOfValues - the list of values to compare the property againstnegated - whether to invert (negate) the comparison operator or notpublic IGCSearchCondition(String property, long from, long to)
property - the (date / time) property of an asset type to search againstfrom - the starting time (epoch) for the date / timeto - the ending time (epoch) for the date / timepublic String getProperty()
public void setProperty(String property)
public String getOperator()
public void setOperator(String operator)
public String getValue()
public void setValue(String value)
public Boolean getNegated()
public void setNegated(Boolean negated)
public com.fasterxml.jackson.databind.node.ObjectNode getConditionObject()
Copyright © 2018–2021 ODPi. All rights reserved.