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 />

3-20<br />

• Using Association Specification dialog:<br />

1. Right-click on the connection line, click Open Specification...from the pop-up menu.<br />

Figure 3.46 - To open the association specification<br />

2. Click the ORM Association Detail tab, select the Collection Type from the drop-down menu.<br />

Figure 3.47 - Association Specification (ORM Association Detail Tab)<br />

Defining ORM Qualifier<br />

ORM Qualifier is used to specify the extra retrieval rules of the generated persistent class for querying the database. DB-VA<br />

allows you to define the ORM Qualifiers of the classes in the class diagram before the generation of persistent code. For more<br />

information on the usage of ORM Qualifier, refer to the DB-VA Programmer's Guide.<br />

1. Open the ORM Qualifier tab inside the <strong>Class</strong> Specification dialog box in one of the two ways:<br />

• Right-click on the ORM-Persistable class, select ORM > ORM Query... from the pop-up menu. The <strong>Class</strong><br />

Specification dialog box showing the ORM Query tab is displayed.<br />

Figure 3.48 - To edit the ORM Qualifier

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

Saved successfully!

Ooh no, something went wrong!