Skip to content

Commit 9a5ce76

Browse files
committed
testmodel
1 parent 92c691c commit 9a5ce76

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
INTERLIS 2.3;
2+
3+
MODEL Colors_V2 (es)
4+
AT "mailto:PC-1@localhost"
5+
VERSION "2020-08-26" =
6+
7+
DOMAIN
8+
9+
DomBaseColorType = (
10+
Green,
11+
Red,
12+
Blue
13+
);
14+
15+
DomChildColorType
16+
EXTENDS DomBaseColorType = (
17+
Blue(
18+
Dark_Blue,
19+
Light_Blue,
20+
Medium_Blue
21+
)
22+
);
23+
24+
DomAnotherChildColorType
25+
EXTENDS DomBaseColorType = (
26+
Green(
27+
Dark_Green,
28+
Light_Green,
29+
Medium_Green
30+
)
31+
);
32+
33+
TOPIC Colors =
34+
35+
CLASS BaseColor =
36+
ColorType : Colors.DomBaseColorType;
37+
END BaseColor;
38+
39+
CLASS ChildColor
40+
EXTENDS BaseColor =
41+
ColorType (EXTENDED) : Colors.DomChildColorType;
42+
END ChildColor;
43+
44+
CLASS AnotherChildColor
45+
EXTENDS BaseColor =
46+
ColorType (EXTENDED) : Colors.DomAnotherChildColorType;
47+
END AnotherChildColor;
48+
49+
END Colors;
50+
51+
END Colors_V2.

0 commit comments

Comments
 (0)