SetEnclosingElement - 6.3

Talend Data Mapper User Guide

EnrichVersion
6.3
EnrichProdName
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
task
Design and Development
EnrichPlatform
Talend Studio

Name

SetEnclosingElement

Purpose

Sets the name of the enclosing element.

Description

Sets the name of the current element. The current element is the element whose expression tree this function is in. This is useful for example to reuse the same set of expressions with different elements, where the expressions depend on the name of the element.

With this function, you can specify an expression to calculate the name of the element (typically this would be a Constant function).

Warning

This function may only be used as the root of the util expression tree for an element.

Argument

Name (String)

The name to be given to the enclosing element.