Support this project

Support This Project
or choose from my whishlist
Tweet this page

Tweet this
If you find this useful, tweet.
Main Menu


< prev     next >
Relate classes

Classes usually have relations to other classes. An important relation in our modelling is the following one: UML Projekt Toolbar New aggregate.png

The side with the diamond applies to the referenced class. The referenced class therefore is the primary class and the other is the foreign. In the following sample we will create a class named 'Kunde' (customer) wich is referenced from a second class named 'Bestellungen' (orders). It is then recognized as a one to many (1 to N) relation. Here we have orders that are related to customers. Therefore the diamond is on the side of the customer class. There are other presentaion or modelling alternatives to achive the same result, but those are not yet supported in the prototype application import method. Therefore you use this notation for database relations.

Until now the model looks like as follows:

UML Projekt Ein paar Klassen.png

As you see, the tree structure has been growed. You now could right click on these classes (tree or diagram) to do the following actions:

  • Create attributes
  • Create operations

  • Attributes are columns in the database table. Therefore the class name results into the equivalent table name where the data is stored later.

    Operations are handled as controls at the form you later will see. Until now there are supported only few opertions. One of them is the execution of a stored procedure.

    < prev     next >
    View Article Map