public static class LiveDataQuery.Constraint extends Object
Constructor and Description |
---|
Constraint()
Default constructor.
|
Constraint(Object value)
Creates a new constraint that uses the given value and the default operator.
|
Constraint(Object value,
String operator)
Creates a new constraint that uses the given value and operator.
|
Modifier and Type | Method and Description |
---|---|
String |
getOperator() |
Object |
getValue() |
void |
setOperator(String operator)
Sets the operator to use between the property value and the value from this constraint.
|
void |
setValue(Object value)
Sets the target value that is compared with the property value using the specified operator.
|
public Constraint()
public Constraint(Object value)
value
- the value to matchpublic String getOperator()
public void setOperator(String operator)
operator
- the new operatorpublic Object getValue()
public void setValue(Object value)
value
- the new constraint valueCopyright © 2004–2022 XWiki. All rights reserved.