root/gaphor/tags/gaphor-0.7.0/uml2/test-uml2.py
| Revision 197, 137 bytes (checked in by arjanmol, 6 years ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | from uml2 import * |
| 2 | c = Class() |
| 3 | p = Package() |
| 4 | |
| 5 | print c.owner , ' == None' |
| 6 | |
| 7 | c.package = p |
| 8 | |
| 9 | print c.package |
| 10 | print c.owner |
| 11 | print c.namespace |
Note: See TracBrowser for help on using the browser.
