Adding complex type attributes - 7.0

Talend Open Studio for MDM Getting Started Guide

author
Talend Documentation Team
EnrichVersion
7.0
EnrichProdName
Talend Open Studio for MDM
task
Data Governance > Modeling data
Design and Development
Installation and Upgrade
EnrichPlatform
Talend MDM Server
Talend MDM Web UI
Talend Studio
If needed, you can add complex type attributes to an entity. In this example, a complex type attribute MovieInfo is added to the Customer entity created in Creating business entities in the data model.

Procedure

  1. Expand the business entity Customer and anonymous type, right-click the attribute Age and select Add Element (after) > Add Complex Type Element to open the Add Complex Type Element dialog box.
  2. Enter a name for the attribute, MovieInfo in this example, and keep the other options as default.
  3. Click OK to validate your changes.
  4. Expand the MovieInfo attribute and anonymous type, right-click subelement and select Edit Element from the contextual menu.
  5. Change the name to Movie, change the minimum occurrence to 0, the maximum occurrence to Many (leave it blank), and click OK to close the dialog box.

    A Change to sequence type dialog box pops up, showing that the Sub-Element Group is changed from All to Sequence. Click OK to close the dialog box.

Results

A complex type attribute MovieInfo is added and listed in the Customer entity, which describes the information of movies rented by the customer.