-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathecd.emf
70 lines (57 loc) · 1.29 KB
/
ecd.emf
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
package ecd;
class Diagram {
attr String name;
attr String preamble;
attr String postamble;
val Include[*] includes;
transient val Type[*] types;
transient val Association[*] associations;
val Constraint[*] constraints;
}
class Constraint {
attr String above;
attr String below;
attr String left;
attr String right;
}
class Include {
attr String name;
transient ref Type#include type;
}
abstract class Type {
transient attr boolean ~interface = false;
transient attr boolean ~abstract = false;
transient attr String name;
transient ref Include#type include;
}
class Enumeration extends Type {
}
class Class extends Type {
transient val Attribute[*] attributes;
transient val Reference[*] references;
transient ref Class[*] superTypes;
transient val Method[*] methods;
}
class Attribute {
transient attr String name;
transient attr String type;
transient attr boolean many;
}
class Association {
transient val Reference[*] references;
}
class Method {
transient attr String name;
transient attr String type;
transient val Parameter[*] parameters;
transient attr String[*] exceptions;
}
class Parameter {
transient attr String name;
transient attr String type;
}
class Reference {
transient attr String name;
transient attr boolean many;
transient ref Class type;
}