Class Diagram
HOPEX Data Governance and HOPEX Data Architecture provides two formalisms to describe logical data:
the data package (represented by a data dictionary), to build class diagrams (UML notation)
the data model, for data diagrams (standard notations, IDEF1X, I.E, Merise) See Data Model.
Data description in UML notation is carried out in a class diagram.
Creating a Package
A package (or data dictionary) partitions the domain and the associated work. It is designed to contain the modeled elements. Graphical representation of all or of certain of these elements is in a class diagram.
A database can be connected to a data model from the time of its creation. It is on this database that the different data processing tools can then be run (generation, synchronization etc.). The database package is the default owner of the classes and associations represented in the class diagram.
See also: Data Dictionary.
Creating a package (data dictionary)
To create a package with HOPEX Data Governance :
1. Click the Architecture navigation menu then Data Dictionaries.
*In HOPEX Data Architecture, click Data Dictionaries > Hierarchy View.
2. In the edit area, right-click the Data Dictionaries folder and click New > Package.
3. Enter the name of the package.
4. Click OK.
Connecting a Package to a Database
To create a package from a database:
1. Click the Architecture navigation menu then Databases.
*In HOPEX Data Architecture, click Databases > Hierarchy View.
2. In the edit area, under the Databases folder, select the desired database.
3. Click the associated Properties button.
4. In the database properties, click the Characteristics page.
5. Expand the Data Package section.
6. Click New.
7. Enter the name of the package and click OK.
To connect an existing package to a database:
1. In the database properties, click the Characteristics page.
2. Expand the Data Package section.
3. Click Connect.
The query dialog box appears.
4. Click the Search button.
5. Select the package and click OK.
Creating a Class Diagram
A class diagram is used to represent the static structure of a system, in particular the types of objects manipulated in the system, their internal structure, and the relationships between them.
A class diagram includes:
Classes, which represent the basic concepts (client, account, product, etc.).
Parts, which define the relationships between the different classes.
Attributes which define the characteristics of classes.
Operations, which can be executed on objects of the class.
*Operations are not taken into account by HOPEX Data Architecture tools (synchronization, generation etc.).
To create the class diagram of a package in HOPEX Data Governance:
1. Click the Architecture navigation menu then Data Dictionaries.
*In HOPEX Data Architecture, click Data Dictionaries > Hierarchy View.
2. In the edit area, expand the Data Dictionaries folder.
3. Move the mouse over the dictionary and click the Create a Diagram button on the right.
4. Select the Class Diagram diagram type.
5. Click OK.
The new class diagram opens.
Note that when you create a package from a database, a class diagram is automatically created at the same time.
For more details on building a class diagram, see The Class Diagram.