public class RValueExpression extends JsonObject
rvalue_expression := value | { $valueof : path } | {}
Modifier and Type | Class and Description |
---|---|
static class |
RValueExpression.RValueType |
Constructor and Description |
---|
RValueExpression()
Creates an rvalue expression that is an empty object
|
RValueExpression(Path p)
Creates an rvalue expression that references another field
|
RValueExpression(RValueExpression.RValueType type)
Creates an rvalue expression that is of the specified type
|
RValueExpression(Value value)
Creates an rvalue expression that is a constant value
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static RValueExpression |
fromJson(com.fasterxml.jackson.databind.JsonNode node)
Parses an rvalue from a json node.
|
Path |
getPath()
The referenced field.
|
RValueExpression.RValueType |
getType()
The reference type.
|
Value |
getValue()
The constant value.
|
int |
hashCode() |
com.fasterxml.jackson.databind.JsonNode |
toJson() |
getFactory, getSourceNode, toString
public RValueExpression(Value value)
public RValueExpression(Path p)
public RValueExpression()
public RValueExpression(RValueExpression.RValueType type)
public Value getValue()
public Path getPath()
public RValueExpression.RValueType getType()
public com.fasterxml.jackson.databind.JsonNode toJson()
toJson
in class JsonObject
public static RValueExpression fromJson(com.fasterxml.jackson.databind.JsonNode node)
Copyright © 2014. All rights reserved.