Class Diagram
HOPEX Information Architecture provides two formalisms to describe logical data:
the data package, to build class diagrams (UML notation)
the data model, for data diagrams (standard notations, IDEF1X, I.E, Merise) See "The data model", page 133.
Data description in UML notation is carried out in a class diagram.
Creating a Package
A package 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.
Creating a Package
To create a package with HOPEX Information Architecture :
1. On the desktop, click the navigation menu then Data Architecture> Logical Data Assets.
2. In the edit area, click Package Hierarchy.
The list of packages appears:
3. Click the New button.
The package created is added to the list of packages. You can modify its name.
Connecting a Package to a Database
To create a package from a database:
1. Click the navigation menu then Data Architecture > Logical Data Assets.
2. In the edit area, click Databases.
3. Display all the databases.
4. Click the database icon and select New > Package.
To connect an existing package to a database:
*Click the database icon and select Connect > Package.
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 Information Architecture tools (synchronization, generation etc.).
To create the class diagram of a package in HOPEX Information Architecture:
1. On the desktop, click the navigation menu then Data Architecture> Logical Data Assets.
2. In the edit area, click Package Hierarchy.
The list of packages appears in the edit area.
3. Click the icon of the package concerned and select New > Class Diagram.
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".