Name | Type | Requirements | Description | Notes |
---|
field | expression | required | The name of the field to set, the target of the assignment. | |
from | expression, script | required if value is empty | An expression or script that returns an object or null . | The script must be prefixed with the script language followed by a colon (":"). |
value | constant+expr | required if from is empty | A constant value. | Default type = "java.lang.String". |
default | constant, ${expression} | optional | A default value - used if from evaluates to null. | |
type | constant | optional | The Java data type of field. | "NewList" will create a new java.util.List , "NewMap" will create a new java.util.Map . |
set-if-null | constant | optional | Controls if field can be set to null . | Defaults to "false". |
set-if-empty | constant | optional | Controls if field can be set to an empty value. The meaning of "empty" depends on the Java data type. | Defaults to "true". |
years | constant, ${expression} | optional | Add (optionally using +) or subtract (using -) a number of year(s). | If an expression is used, it should evaluate to an integer. |
months | constant, ${expression} | optional | Add (optionally using +) or subtract (using -) a number of month(s). | If an expression is used, it should evaluate to an integer. |
days | constant, ${expression} | optional | Add (optionally using +) or subtract (using -) a number of days(s). | If an expression is used, it should evaluate to an integer. |
hours | constant, ${expression} | optional | Add (optionally using +) or subtract (using -) a number of hour(s). | If an expression is used, it should evaluate to an integer. |
minutes | constant, ${expression} | optional | Add (optionally using +) or subtract (using -) a number of minute(s). | If an expression is used, it should evaluate to an integer. |
seconds | constant, ${expression} | optional | Add (optionally using +) or subtract (using -) a number of second(s). | If an expression is used, it should evaluate to an integer. |
millis | constant, ${expression} | optional | Add (optionally using +) or subtract (using -) a number of milli-second(s). | If an expression is used, it should evaluate to an integer. |
period-align-start | constant, ${expression} | optional | Align the adjusted date to the start of a period: "day", "week", "month", "year" | |
period-align-end | constant, ${expression} | optional | Align the adjusted date to the start of a period: "day", "week", "month", "year" | |
locale | constant, ${expression} | optional | The locale (calendar) to be used for the operation | |
time-zone | constant, ${expression} | optional | The time zone to be used for the operation | |