Splits each matched entity into: an entity with attributes that have no source mappings; and an entity for each sourced entity with the attributes that have source mappings to that entity.
REPLACE WITH THIS IMAGE: Images/Model Conversions/Split Entities per Source.png Image Added
Label | Description |
---|
Match for entity | Select the criteria for finding the matching entities from the drop-down list. Refer to Model Conversion Matching Criteria for details. |
Generated entity name | The template used for renaming the created entity. Note |
---|
| The following variables are available: - table: The table object for the matched entity.
- parentTable: The table object for the matched entity that is being split.
|
|
Remove parent entity | Indicates whether to delete the matched entity. |
Generated entity label | Resolves the label for the created entity: - Copy label: Copy the original entity's label to the created entity.
- Do not copy label: The created entity will not have a label.
|
Retain attributes without sources | Indicates if attributes that have no source mappings is copied to the created entity. - Generated: Indicates to find attributes that have special Created by property.
- Non-generated: The opposite of Generated.
|
Assign to generated entities | Select one or more attributes to assign to the generated entities. |
Scenarios
Following are some of the scenarios you may encounter.
Diagram Key |
|
---|
Image Added | Entity type is Dimension. |
Image Added | Entity type is Stage. |
Image Added | Entity type is Load. |
Image Added | Indicates newly created entity. |
Image Added | Indicates a source set. |
Expand |
---|
title | Click to view Scenario 1 |
---|
|
- In the first image, a dimension with a single source set contains a single stage with three source sets for an individual load entity.
- When the Split Entities per Source Entity rule is applied, the dimension has three source sets added to it, to respect the source sets in the stage, as shown in the second diagram.
- When the Remove parent entity checkbox is selected in the rule settings, the parent is removed, as shown in the third diagram.
Image Added |
Expand |
---|
title | Click to view Scenario 2 |
---|
|
- In the first image, a dimension with a single source set contains a single stage with a single source set containing three load entities.
- When the Split Entities per Source Entity rule is applied, the dimension will have a single source set containing the three stage entities added to it, as shown in the second diagram.
- When the Remove parent entity checkbox is selected in the rule settings, the parent is removed, as shown in the third diagram.
Image Added |
Expand |
---|
title | Click to view Scenario 3 |
---|
|
- In the first image, a dimension has three source sets each with a stage entity, where each stage entity has a single source set to a load entity.
- When the Split Entities per Source Entity rule is applied, the dimension will have three source sets for each stage entity added to it, as shown in the second diagram.
- When the Remove parent entity checkbox is selected in the rule settings, the parent is removed, as shown in the third diagram.
Image Added |
Expand |
---|
title | Click to view Scenario 4 |
---|
|
- In the first image, a dimension has a single source set containing two stage entities, where each stage entity has a single source set containing a load entity.
- When the Split Entities per Source Entity rule is applied, the dimension will have a single source set containing two stage entities added to it, as shown in the second diagram.
- When the Remove parent entity checkbox is selected in the rule settings, the parent is removed, as shown in the third diagram
Image Added |