Class Overview
Represents a simple property or field reference.
Public Constructors
public
PropertyOrFieldReference
(boolean nullSafe, String propertyOrFieldName, int pos)
Public Methods
public
boolean
isNullSafe
()
public
boolean
isWritable
(ExpressionState state)
Determine if this expression node will support a setValue() call.
Parameters
state
| the current expression state (includes the context) |
Returns
- true if the expression node will allow setValue()
Evaluate the expression to a node and then set the new value on that node. For example, if the expression
evaluates to a property reference then the property will be set to the new value.
Parameters
state
| the current expression state (includes the context) |
newValue
| the new value |