Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleProposed Attribute Type Section

Attribute Types

constant

A string constant. The string may not include an expression

constant+expr

A string constant. The string may include an expression, but an expression-only string is not allowed

expression

A UEL expression

script

A short script ("scripletscriptlet")

The <simple-method> element

...

Section
Column
width20%
<set-calendar>
Column
Performs a Timestamp adjustment operation.
Code Block
xml
xml
<set field="tomorrowStamp" from-field="nowTimestamp" day="1" />
<set field="yesterdayStamp" from-field="nowTimestamp" day="-1" />

Attributes

field

optional

The name of the field to set (the l-value)

from-field

optional

The name of a field to copy from (the r-value)

value

optional

A constant value

default-value

optional

A default constant value - used if from-field evaluates to null

type

optional

The Java data type of field

years

optional

A signed integer adjustment amount

months

optional

A signed integer adjustment amount

days

optional

A signed integer adjustment amount

hours

optional

A signed integer adjustment amount

minutes

optional

A signed integer adjustment amount

seconds

optional

A signed integer adjustment amount

millis

optional

A signed integer adjustment amount

period-align-start

optional

Set the adjusted Timestamp to period start: "day", "week", "month", "year"

period-align-end

optional

Set the adjusted Timestamp to period end: "day", "week", "month", "year"

locale

optional

The locale to be used for the operation

time-zone

optional

The time zone to be used for the operation


Info
titleProposed Changes
  • Currently, the field attribute is optional. Require the field attribute.
  • Currently, the from-field and value attributes are optional. Require one of the two attributes.
  • Rename the from-field attribute to from. The attribute will be used exclusively for UEL expressions.
  • Change the behavior of the value attribute: The attribute will be used exclusively for string constants.
  • Remove the default-value attribute. The value attribute will be used for default constant values.
Section
Column
width20%
<set-service-fields>
<string-append>
<string-to-field>
<string-to-list>

...

Column
Copies map entries that match a service definition to another map. If the target map is not found, a new map is created.
Code Block
xml
xml

<set-service-fields service-name="fooService" map="barMap" to-map="fooServiceAttributes" />

Attributes

service-name

optional

The name of the service

map

optional

The name of the map to copy from

to-map

optional

The name of the map to copy to

error-list

optional

The name of a list to copy error messages to


Info
titleProposed Changes
  • Currently, the service-name, map, and to-map attributes are optional. Require all three attributes.
  • Eliminate the error-list attribute, error messages are added to the result map
Section
Column
width20%
<string-append>
Column
Info
titleProposed Changes

Deprecate and replace with UEL expression or <set>

Section
Column
width20%
<string-to-field>
Column
Info
titleProposed Changes

Deprecate and replace with UEL expression or <set>

Section
Column
width20%
<string-to-list>
Column
Info
titleProposed Changes

Deprecate and replace with UEL expression or <set>

Section
Column
width20%
<to-string>
Column
Info
titleProposed Changes

Deprecate and replace with UEL expression or <set>

<webapp-property-to-field>

...