@Beta public abstract class UpdateAction extends UnitOfExpression
This object is as immutable (or unmodifiable) as the underlying value (of
type UnitOfExpression
) given during construction.
Modifier and Type | Field and Description |
---|---|
private PathOperand |
attribute |
private java.lang.String |
operator |
private UnitOfExpression |
value |
Constructor and Description |
---|
UpdateAction(java.lang.String operator,
PathOperand attribute,
UnitOfExpression value) |
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.String |
asSubstituted(SubstitutionContext context)
Returns the attribute as a string, substituted if necessary with tokens
using the given substitution context.
|
(package private) java.lang.String |
getOperator() |
(package private) PathOperand |
getPathOperand() |
(package private) UnitOfExpression |
getValue() |
private final java.lang.String operator
private final PathOperand attribute
private final UnitOfExpression value
UpdateAction(java.lang.String operator, PathOperand attribute, UnitOfExpression value)
java.lang.String asSubstituted(SubstitutionContext context)
asSubstituted
in class UnitOfExpression
context
- the substitution context which may get mutated as a side
effect upon completion of this methodfinal java.lang.String getOperator()
final PathOperand getPathOperand()
final UnitOfExpression getValue()