21.07.2013 Views

Designing Object Model with UML Class Diagram - Visual Paradigm

Designing Object Model with UML Class Diagram - Visual Paradigm

Designing Object Model with UML Class Diagram - Visual Paradigm

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DB-VA Designer’s Guide Chapter 3 – <strong>Designing</strong> <strong>Object</strong> <strong>Model</strong> <strong>with</strong> <strong>UML</strong> <strong>Class</strong> <strong>Diagram</strong><br />

Specifying Stereotypes<br />

Stereotype extends the semantics of the <strong>UML</strong> metamodel. It classifies the element in what respects it behaves as an instance of<br />

metamodel. In order to enable the mapping between object model and relational database, the class has to be stereotyped as<br />

ORM Persistable.<br />

To specify the stereotypes of a class:<br />

3-16<br />

1. Right-click a class, select Stereotypes > Stereotypes....<br />

Figure 3.37 - To add/remove stereotypes<br />

The <strong>Class</strong> Specification dialog box is shown <strong>with</strong> Stereotypes Tab<br />

Figure 3.38 - <strong>Class</strong> Specification dialog (Stereotypes Tab)<br />

2. Select ORM Persistable, then > button and OK.<br />

Figure 3.39 - <strong>Class</strong> <strong>with</strong> stereotypes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!