public class CompareValue extends Object
AttributeExpressionLeaf. It is used to check what type of value
was parsed and to get the value in the desired type| Constructor and Description |
|---|
CompareValue(ScimFilterParser.CompareValueContext compareValueContext,
SchemaAttribute schemaAttribute) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Boolean> |
getBooleanValue() |
Optional<Instant> |
getDateTime() |
Optional<BigDecimal> |
getNumberValue() |
Optional<String> |
getStringValue() |
boolean |
isBoolean() |
boolean |
isDateTime() |
boolean |
isNull() |
boolean |
isNumber() |
boolean |
isString() |
String |
toString() |
public CompareValue(ScimFilterParser.CompareValueContext compareValueContext, SchemaAttribute schemaAttribute)
compareValueContext - the antlr context for this valueschemaAttribute - the attributes meta informationpublic boolean isNull()
public boolean isNumber()
public boolean isString()
isDateTime() evaluates to true then this method will also evaluate to truepublic boolean isDateTime()
public boolean isBoolean()
public Optional<Boolean> getBooleanValue()
public Optional<BigDecimal> getNumberValue()
public Optional<String> getStringValue()
public Optional<Instant> getDateTime()
Copyright © 2019. All rights reserved.