0% found this document useful (0 votes)
65 views2 pages

Domain Model in Enterprise Architect:: Bill, Billitem, Pricelist, Book As Domain Objects

Domain models in Enterprise Architect are created using Class diagrams, with domain objects like Bill, BillItem, PriceList, and Book added. Relationships between objects, such as Bills containing BillItems and Bills being contained in Books, are defined using aggregation links. Enterprise Architect includes transformation templates that allow domain models to be transformed to other models, like C# or a database schema, by right clicking on a package and selecting the transformation and destination. Transformation templates automatically generate new classes with required properties.

Uploaded by

preetha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views2 pages

Domain Model in Enterprise Architect:: Bill, Billitem, Pricelist, Book As Domain Objects

Domain models in Enterprise Architect are created using Class diagrams, with domain objects like Bill, BillItem, PriceList, and Book added. Relationships between objects, such as Bills containing BillItems and Bills being contained in Books, are defined using aggregation links. Enterprise Architect includes transformation templates that allow domain models to be transformed to other models, like C# or a database schema, by right clicking on a package and selecting the transformation and destination. Transformation templates automatically generate new classes with required properties.

Uploaded by

preetha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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