File: model.txt

package info (click to toggle)
gaphor 0.17.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,552 kB
  • ctags: 3,629
  • sloc: python: 23,713; xml: 222; makefile: 112; sh: 1
file content (29 lines) | stat: -rw-r--r-- 1,154 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
UML datamodel
=============

Gaphor uses the UML metamodel specs as guidelines for its data storage.
In fact, the datamodel is generated for a model file. 

The model is built using smart properties (descriptors). Those descriptors fire
events when they're changed. This allows the rest of the application (visuals,
undo system) to update their state accordingly. The events are send using Zope
(3)'s signalling mechanism, called Handlers.


Model details
-------------

Pay attention to the following changes/additions with respect to the official model:

 * Additions to the model have been put in the package AuxilaryConstructs.Presentations and .Stereotypes.
 * A Diagram element is added in order to model the diagrams.
 * A special construct has been put into place in order to apply stereotypes to
   model elements. The current specs (2.2) are not clear on that subject.
 * The Slot.value reference is singular.

.. note::

    ValueSpecification is generated as if it were a normal attribute.
    As a result, its subclasses (Expression, OpaqueExpression, InstanceValue,
    LiteralSpecification and its Literal* subclasses) are not available.