-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCHBase_Part3_CATALOGUEOBJECTS_V1.ili
64 lines (49 loc) · 1.78 KB
/
CHBase_Part3_CATALOGUEOBJECTS_V1.ili
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
INTERLIS 2.3;
!!@ technicalContact="models@geo.admin.ch"
!!@ furtherInformation="http://www.geo.admin.ch/internet/geoportal/de/home/topics/geobasedata/models.html"
MODEL CatalogueObjects_V1 (en)
AT "http://www.geo.admin.ch"
VERSION "2011-08-30" =
TOPIC Catalogues(ABSTRACT) =
CLASS Item (ABSTRACT) =
END Item;
STRUCTURE CatalogueReference (ABSTRACT) =
Reference : REFERENCE TO (EXTERNAL) Item;
END CatalogueReference;
STRUCTURE MandatoryCatalogueReference (ABSTRACT) =
Reference : MANDATORY REFERENCE TO (EXTERNAL) Item;
END MandatoryCatalogueReference;
END Catalogues;
END CatalogueObjects_V1.
!!@ technicalContact="models@geo.admin.ch"
!!@ furtherInformation="http://www.geo.admin.ch/internet/geoportal/de/home/topics/geobasedata/models.html"
MODEL CatalogueObjectTrees_V1 (en)
AT "http://www.geo.admin.ch"
VERSION "2011-08-30" =
IMPORTS CatalogueObjects_V1;
TOPIC Catalogues(ABSTRACT)
EXTENDS CatalogueObjects_V1.Catalogues =
CLASS Item (ABSTRACT,EXTENDED) =
IsSuperItem : MANDATORY BOOLEAN;
IsUseable : MANDATORY BOOLEAN;
MANDATORY CONSTRAINT
IsSuperItem OR IsUseable;
END Item;
ASSOCIATION EntriesTree =
Parent -<#> {0..1} Item;
Child -- {0..*} Item;
MANDATORY CONSTRAINT
Parent->IsSuperItem;
END EntriesTree;
STRUCTURE CatalogueReference (ABSTRACT,EXTENDED) =
Reference (EXTENDED) : REFERENCE TO (EXTERNAL) Item;
MANDATORY CONSTRAINT
Reference->IsUseable;
END CatalogueReference;
STRUCTURE MandatoryCatalogueReference (ABSTRACT,EXTENDED) =
Reference (EXTENDED) : MANDATORY REFERENCE TO (EXTERNAL) Item;
MANDATORY CONSTRAINT
Reference->IsUseable;
END MandatoryCatalogueReference;
END Catalogues;
END CatalogueObjectTrees_V1.