en fr ger es

Tutorial - Content Model

Create a new Content Diagram. This is a normal UML class diagram, therefore we have to think about the classes we need for our running example. First of all we want to have an AddressBook class containing a set of Contacts. Each named Contact should store an email address, two phone, two postal addresses and a picture. Name and email are Strings, Phone, Picture and Address are classes which represent more information, as shown in the following figure:
content diagram
Why do we need the "introduction" attribute in the class AddressBook? - That's because we want to store the introductory text of the main web page there.

Next  page