You are on page 1of 2

Domain Model in Enterprise Architect:

Domain diagrams are created using Class diagram type. Click on Add new diagram on the model node
in the Project Browser and choose Class Diagram as a diagram type.

Bill, BillItem, PriceList, Book as domain objects.

Keep this diagram with no attributes because this is only a conceptual model and include unnecessary
info.

Domain objects are now created. Define relations between them. We know that BillItems are contained
in Bills and Bills are contained in Books so we will model that using Aggregation links.

EA includes transformation templates which allow us to perform these transformations. For example,
we can simply transform our current domain model to the C# model, to DDL, or we can create our
custom transformation template (We will see later).

Right click on the package in the Project Browser, and choose transformation and destination for
transformed objects. Typically, the destination will be somewhere in a Class Model.

Prepared by J.Chandra Priya, TF, DCT, MIT


Transformation templates will automatically create new classes for us including required properties, so
our transformed model will look like this:

Prepared by J.Chandra Priya, TF, DCT, MIT

You might also like