public class NumValue extends Object implements LogicalOperators, BaseFilterValue
| Constructor and Description |
|---|
NumValue(FilterFunctions.FUNCTIONS operator,
ODataProperty property,
ODataType<String> operand)
Constructs NumValue
|
| Modifier and Type | Method and Description |
|---|---|
FilterExpression |
eq(ODataType right)
Creates filter expression using its NumValue as string, eq as operator and odatatype value as operand
|
FilterExpression |
ge(ODataType right)
Creates filter expression using its NumValue as string, ge as operator and odatatype value as operand
|
String |
getStringValue() |
FilterExpression |
gt(ODataType right)
Creates filter expression using its NumValue as string, gt as operator and odatatype value as operand
|
FilterExpression |
le(ODataType right)
Creates filter expression using its NumValue as string, le as operator and odatatype value as operand
|
FilterExpression |
lt(ODataType right)
Creates filter expression using its NumValue as string, lt as operator and odatatype value as operand
|
FilterExpression |
ne(ODataType right)
Creates filter expression using its NumValue as string, ne as operator and odatatype value as operand
|
String |
toString()
Returns NumValue as string
|
public NumValue(FilterFunctions.FUNCTIONS operator, ODataProperty property, ODataType<String> operand)
operator - name of filter functionproperty - name of property or StringValue as stringoperand - NullPointerExceptionIllegalArgumentExceptionpublic FilterExpression eq(ODataType right)
eq in interface LogicalOperatorspublic FilterExpression ne(ODataType right)
ne in interface LogicalOperatorspublic FilterExpression gt(ODataType right)
gt in interface LogicalOperatorspublic FilterExpression ge(ODataType right)
ge in interface LogicalOperatorspublic FilterExpression le(ODataType right)
le in interface LogicalOperatorspublic FilterExpression lt(ODataType right)
lt in interface LogicalOperatorspublic String getStringValue()
getStringValue in interface BaseFilterValueCopyright © 2020 SAP. All Rights Reserved.