Adding simple type elements to entities
- Data Fabric
- MDM Platform
About this task
You need to add elements to the business entities you have just created in Creating entities in a data model using a graphical designer.
The following example introduces how to add simple type elements to the entity Agency.
Procedure
-
From the Palette, click Element
and then click in the upper part of the entity.
A dialog box pops up.
-
Keep the default option Simple Type and click
Next.
The Create Element dialog box pops up.
-
In the Business Element Name field, enter a name for the
new element.
-
In the Type area, select an appropriate type for the new
element. In this example, select string from the
Built-in Type list.
You can also select a custom type from the Custom Type list. By default, several custom types are available, for example, UUID, PICTURE, and URL. If needed, you can define custom types according to your needs. For more information, see Adding custom type elements to entities.
-
Set the number of maximum and minimum occurrences according to your needs. In
this example, to make the Name element mandatory, set
1 to both occurrences.
You can also define multi-occurrence attributes by setting a specific number in the Maximum Occurrence field, or select the Unbounded check box so that the maximum number of occurrences is not bounded.
-
Click Finish to close the dialog box.
The new element Name of string type is added to the Agency entity.
-
Repeat the procedure to add as many elements as needed to the entity
Agency.
In this example, add the following:
Business Element Name
Type
Minimum Occurrence
Maximum Occurrence
City
string
0
1
State
string
0
1
Zip
string
0
1
Region
string
0
1
MoreInfo
MoreInfo (custom type)
0
1
-
Repeat the procedure to add as many elements as needed to the entity
Agent.
In this example, add the following elements:
Business Element Name
Type
Minimum Occurrence
Maximum Occurrence
Firstname
string
1
1
Lastname
string
1
1
CommissionCode
string
1
1
StartDate
date
1
1
TermDate
date
0
1
Status
string
0
1
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!