1 | %include http://www.isotopicmaps.org/tmcl/templates.ctm |
---|
2 | %prefix tmcl http://psi.topicmaps.org/tmcl/ |
---|
3 | %prefix gdl http://isidor.us/gdl/ |
---|
4 | %prefix gdlt http://isidor.us/gdl/types/ |
---|
5 | |
---|
6 | |
---|
7 | # Association types |
---|
8 | contains gdl:contains isa tmcl:association-type; |
---|
9 | has-role(containee, 1, 1); |
---|
10 | has-role(container, 1, 1); |
---|
11 | has-role(nth-element, 0, 1). |
---|
12 | |
---|
13 | position gdl:position isa tmcl:association-type; |
---|
14 | has-role(descriptor, 1, 1); |
---|
15 | has-role(ancestor, 1, 1); |
---|
16 | has-role(descendant, 1, 1). |
---|
17 | |
---|
18 | button-position gdl:button-position isa tmcl:association-type; |
---|
19 | has-role(action-button, 1, 1); |
---|
20 | has-role(nth-element, 1, 1); |
---|
21 | role-combination(nth-element, Nth-Element, action-button, Action-Button). |
---|
22 | |
---|
23 | view-binding gdl:view-binding isa tmcl:association-type; |
---|
24 | has-role(descriptor, 1, 1); |
---|
25 | has-role(value-group, 1, 1); |
---|
26 | role-combination(value-group, Value-Group, descriptor, Text); |
---|
27 | role-combination(value-group, Value-Group, descriptor, List-Box); |
---|
28 | role-combination(value-group, Value-Group, descriptor, Complex-Data); |
---|
29 | role-combination(value-group, Value-Group, descriptor, Input-Button). |
---|
30 | role-combination(value-group, Value-Group, descriptor, Action-Button); |
---|
31 | role-combination(value-group, Value-Group, descriptor, Reference); |
---|
32 | role-combination(value-group, Value-Group, descriptor, Title); |
---|
33 | role-combination(value-group, Value-Group, descriptor, Info). |
---|
34 | |
---|
35 | tm-binding gdl:tm-binding isa tmcl:association-type; |
---|
36 | has-role(descriptor, 1, 1); |
---|
37 | has-role(tm-construct, 0, 1); |
---|
38 | has-role(hidden-value, 0, 1); |
---|
39 | role-combination(tm-construct, tmcl:topic-name-constraint, descriptor, Unit); |
---|
40 | role-combination(tm-construct, tmcl:variant-name-constraint, descriptor, Unit); |
---|
41 | role-combination(tm-construct, tmcl:topic-occurrence-constraint, descriptor, Unit); |
---|
42 | role-combination(tm-construct, tmcl:topic-type, descriptor, TM-Value); |
---|
43 | role-combination(value-group, Value-Group, tm-construct, Datatype); |
---|
44 | role-combination(value-group, Value-Group, tm-construct, Type); |
---|
45 | role-combination(value-group, Value-Group, tm-construct, Variant-Name-Scope); |
---|
46 | role-combination(value-group, Value-Group, tm-construct, Variant-Name-Reifier); |
---|
47 | role-combination(value-group, Value-Group, tm-construct, Variant-Name-Identifiers); |
---|
48 | role-combination(value-group, Value-Group, tm-construct, Role-Player); |
---|
49 | role-combination(hidden-value, Hidden-Value, tm-construct, Datatype); |
---|
50 | role-combination(hidden-value, Hidden-Value, tm-construct, Type); |
---|
51 | role-combination(hidden-value, Hidden-Value, tm-construct, Variant-Name-Scope); |
---|
52 | role-combination(hidden-value, Hidden-Value, tm-construct, Variant-Name-Reifier); |
---|
53 | role-combination(hidden-value, Hidden-Value, tm-construct, Variant-Name-Identifiers); |
---|
54 | role-combination(hidden-value, Hidden-Value, tm-construct, Role-Player) |
---|
55 | role-combination(descriptor, Role-Player, tm-construct, tmcl:item-identifier-constraint); |
---|
56 | role-combination(descriptor, Role-Player, tm-construct, tmcl:reifier-constraint); |
---|
57 | role-combination(descriptor, Role-Player, tm-construct, tmcl:topic-role-constraint); |
---|
58 | role-combination(descriptor, Variant-Name-Identifiers, tm-construct, tmcl:variant-name-constraint); |
---|
59 | role-combination(descriptor, Datatype, tm-construct, tmcl:topic-occurrence-constraint); |
---|
60 | role-combination(descriptor, Datatype, tm-construct, tmcl:variant-name-constraint); |
---|
61 | role-combination(descriptor, Type, tm-construct, tmcl:topic-name-constraint); |
---|
62 | role-combination(descriptor, Type, tm-construct, tmcl:association-role-constraint); |
---|
63 | role-combination(descriptor, Type, tm-construct, tmcl:topic-role-constraint); |
---|
64 | role-combination(descriptor, Type, tm-construct, tmcl:topic-occurrence-constraint); |
---|
65 | role-combination(descriptor, Variant-Name-Scope, tm-construct, tmcl:variant-name-constraint); |
---|
66 | role-combination(descriptor, Variant-Name-Reifier, tm-construct, tmcl:variant-name-constraint); |
---|
67 | role-combination(value-group, Value-Group, tm-construct, tmcl:subject-identifier-constraint); |
---|
68 | role-combination(value-group, Value-Group, tm-construct, tmcl:subject-locator-constraint); |
---|
69 | role-combination(value-group, Value-Group, tm-construct, tmcl:item-identifier-constraint); |
---|
70 | role-combination(value-group, Value-Group, tm-construct, tmcl:topic-name-constraint); |
---|
71 | role-combination(value-group, Value-Group, tm-construct, tmcl:reifier-constraint); |
---|
72 | role-combination(value-group, Value-Group, tm-construct, tmcl:variant-name-constraint); |
---|
73 | role-combination(value-group, Value-Group, tm-construct, tmcl:topic-occurrence-constraint); |
---|
74 | role-combination(value-group, Value-Group, tm-construct, tmcl:scope-constraint); |
---|
75 | role-combination(hidden-value, Value-Group, tm-construct, tmcl:subject-identifier-constraint); |
---|
76 | role-combination(hidden-value, Value-Group, tm-construct, tmcl:subject-locator-constraint); |
---|
77 | role-combination(hidden-value, Value-Group, tm-construct, tmcl:item-identifier-constraint); |
---|
78 | role-combination(hidden-value, Value-Group, tm-construct, tmcl:topic-name-constraint); |
---|
79 | role-combination(hidden-value, Value-Group, tm-construct, tmcl:reifier-constraint); |
---|
80 | role-combination(hidden-value, Value-Group, tm-construct, tmcl:variant-name-constraint); |
---|
81 | role-combination(hidden-value, Value-Group, tm-construct, tmcl:topic-occurrence-constraint); |
---|
82 | role-combination(hidden-value, Value-Group, tm-construct, tmcl:scope-constraint). |
---|
83 | |
---|
84 | topic-view-binding gdl:topic-view-binding isa tmcl:association-type; |
---|
85 | has-role(descriptor, 1, 1); |
---|
86 | has-role(tm-value, 1, 1); |
---|
87 | role-combination(tm-value, TM-Value, descriptor, Topic-View). |
---|
88 | |
---|
89 | |
---|
90 | display-by gdl:display-by isa tmcl:association-type; |
---|
91 | has-role(descriptor, 1, 1); |
---|
92 | has-role(tm-construct, 1, 1); |
---|
93 | role-combination(descriptor, TM-Value, tm-construct, tmcl:topic-name-constraint); |
---|
94 | role-combination(descriptor, TM-Value, tm-construct, tmcl:item-identifier-constraint); |
---|
95 | role-combination(descriptor, TM-Value, tm-construct, tmcl:subject-locator-constraint); |
---|
96 | role-combination(descriptor, TM-Value, tm-construct, tmcl:subject-identifier-constraint); |
---|
97 | role-combination(descriptor, Value-Group, tm-construct, tmcl:topic-name-constraint); |
---|
98 | role-combination(descriptor, Value-Group, tm-construct, tmcl:item-identifier-constraint); |
---|
99 | role-combination(descriptor, Value-Group, tm-construct, tmcl:subject-locator-constraint); |
---|
100 | role-combination(descriptor, Value-Group, tm-construct, tmcl:subject-identifier-constraint). |
---|
101 | |
---|
102 | |
---|
103 | association-view-binding gdl:association-view-binding isa tmcl:association-type; |
---|
104 | has-role(descriptor, 1, 1); |
---|
105 | has-role(tm-construct, 1, 1); |
---|
106 | role-combination(descriptor, Association-View, tm-construct, tmcl:topic-role-constraint); |
---|
107 | role-combination(descriptor, Association-View, tm-construct, tmcl:association-role-constraint). |
---|
108 | |
---|
109 | preferred-scope gdl:preferred-scope isa tmcl:association-type; |
---|
110 | has-role(tm-construct, 1, 1); |
---|
111 | has-role(descriptor, 1, 1); |
---|
112 | role-combination(tm-construct, tmcl:topic-type, descriptor, Value-Group); |
---|
113 | role-combination(tm-construct, tmcl:topic-type, descriptor, TM-Value). |
---|
114 | |
---|
115 | value-binding gdl:value-binding isa tmcl:association-type; |
---|
116 | has-role(hidden-value, 1, 1); |
---|
117 | has-role(value, 1, 1); |
---|
118 | role-combination(value, Default-Value, hidden-value, Hidden-Value); |
---|
119 | role-combination(value, Value, value-group, Value-Group). |
---|
120 | |
---|
121 | |
---|
122 | # Role types |
---|
123 | container gdl:container isa tmcl:role-type. |
---|
124 | containee gdl:containee isa tmcl:role-type. |
---|
125 | descriptor gdl:descriptor isa tmcl:role-type. |
---|
126 | ancestor gdl:ancestor isa tmcl:role-type. |
---|
127 | descendant gdl:descendant isa tmcl:role-type. |
---|
128 | button-position gdl:action-button isa tmcl:role-type. |
---|
129 | nth-element gdl:nth-element isa tmcl:role-type. |
---|
130 | value-group gdl:value-group isa tmcl:role-type. |
---|
131 | tm-construct gdl:tm-construct isa tmcl:role-type. |
---|
132 | tm-value gdl:tm-value isa tmcl:role-type. |
---|
133 | |
---|
134 | |
---|
135 | # The schema itself |
---|
136 | schema-name gdl:schema-name isa tmcl:name-type. |
---|
137 | |
---|
138 | Schema gdlt:Schema isa tmcl:topic-type; |
---|
139 | has-name(schema-name, 1, 1); |
---|
140 | plays-role(container, contains, 0, *). |
---|
141 | |
---|
142 | |
---|
143 | # The abstract base topic type of all GDL topics |
---|
144 | Descriptor gdlt:Descriptor isa tmcl:topic-type; |
---|
145 | is-abstract(). |
---|
146 | |
---|
147 | |
---|
148 | # The abstract base topic type of all visible elements modeled by GDL topics |
---|
149 | display gdl:display isa tmcl:occurrence-type. |
---|
150 | id gdl:id isa tmcl:occurrence-type. |
---|
151 | margin gdl:margin isa tmcl:occurrence-type. |
---|
152 | margin-left gdl:margin-left isa tmcl:occurrence-type. |
---|
153 | margin-top gdl:margin-top isa tmcl:occurrence-type. |
---|
154 | margin-right gdl:margin-right isa tmcl:occurrence-type. |
---|
155 | margin-bottom gdl:margin-bottom isa tmcl:occurrence-type. |
---|
156 | border-color gdl:border-color isa tmcl:occurrence-type. |
---|
157 | border-left-color gdl:border-left-color isa tmcl:occurrence-type. |
---|
158 | border-top-color gdl:border-top-color isa tmcl:occurrence-type. |
---|
159 | border-right-color gdl:border-right-color isa tmcl:occurrence-type. |
---|
160 | border-bottom-color gdl:border-bottom-color isa tmcl:occurrence-type. |
---|
161 | border-style gdl:border-style isa tmcl:occurrence-type. |
---|
162 | border-left-style gdl:border-left-style isa tmcl:occurrence-type. |
---|
163 | border-top-style gdl:border-top-style isa tmcl:occurrence-type. |
---|
164 | border-right-style gdl:border-right-style isa tmcl:occurrence-type. |
---|
165 | border-bottom-style gdl:border-bottom-style isa tmcl:occurrence-type. |
---|
166 | border-width gdl:border-width isa tmcl:occurrence-type. |
---|
167 | border-left-width gdl:border-left-width isa tmcl:occurrence-type. |
---|
168 | border-top-width gdl:border-top-width isa tmcl:occurrence-type. |
---|
169 | border-right-width gdl:border-right-width isa tmcl:occurrence-type. |
---|
170 | border-bottom-width gdl:border-bottom-width isa tmcl:occurrence-type. |
---|
171 | border-radius gdl:border-radius isa tmcl:occurrence-type. |
---|
172 | border-bottom-left-radius gdl:border-bottom-left-radius isa tmcl:occurrence-type. |
---|
173 | border-top-left-radius gdl:border-top-left-radius isa tmcl:occurrence-type. |
---|
174 | border-top-right-radius gdl:border-top-right-radius isa tmcl:occurrence-type. |
---|
175 | border-bottom-right-radius gdl:border-bottom-right-radius isa tmcl:occurrence-type. |
---|
176 | padding gdl:padding isa tmcl:occurrence-type. |
---|
177 | padding-left gdl:padding-left isa tmcl:occurrence-type. |
---|
178 | padding-top gdl:padding-top isa tmcl:occurrence-type. |
---|
179 | padding-right gdl:padding-right isa tmcl:occurrence-type. |
---|
180 | padding-bottom gdl:padding-bottom isa tmcl:occurrence-type. |
---|
181 | cursor gdl:cursor isa tmcl:occurrence-type. |
---|
182 | z-index gdl:z-index isa tmcl:occurrence-type. |
---|
183 | width gdl:width isa tmcl:occurrence-type. |
---|
184 | min-width gdl:min-width isa tmcl:occurrence-type. |
---|
185 | max-width gdl:max-width isa tmcl:occurrence-type. |
---|
186 | height gdl:height isa tmcl:occurrence-type. |
---|
187 | min-height gdl:min-height isa tmcl:occurrence-type. |
---|
188 | max-height gdl:max-height isa tmcl:occurrence-type. |
---|
189 | float gdl:float isa tmcl:occurrence-type. |
---|
190 | clear gdl:clear isa tmcl:occurrence-type. |
---|
191 | content-orientation gdl:content-orientation isa tmcl:occurrence-type. |
---|
192 | background-color gdl:background-color isa tmcl:occurrence-type. |
---|
193 | vertical-align gdl:vertical-align isa tmcl:occurrence-type. |
---|
194 | |
---|
195 | VisibleObject gdlt:VisibleObject ako Descriptor; |
---|
196 | isa tmcl:topic-type; |
---|
197 | is-abstract(); |
---|
198 | has-occurrence(id, 1, 1); |
---|
199 | has-occurrence(display, 0, 1); |
---|
200 | has-occurrence(margin, 0, 1); |
---|
201 | has-occurrence(margin-left, 0, 1); |
---|
202 | has-occurrence(margin-top, 0, 1); |
---|
203 | has-occurrence(margin-right, 0, 1); |
---|
204 | has-occurrence(margin-bottom, 0, 1); |
---|
205 | has-occurrence(border-color, 0, 1); |
---|
206 | has-occurrence(border-left-color, 0, 1); |
---|
207 | has-occurrence(border-top-color, 0, 1); |
---|
208 | has-occurrence(border-right-color, 0, 1); |
---|
209 | has-occurrence(border-bottom-color, 0, 1); |
---|
210 | has-occurrence(border-style, 0, 1); |
---|
211 | has-occurrence(border-left-style, 0, 1); |
---|
212 | has-occurrence(border-top-style, 0, 1); |
---|
213 | has-occurrence(border-right-style, 0, 1); |
---|
214 | has-occurrence(border-bottom-style, 0, 1); |
---|
215 | has-occurrence(border-width, 0, 1); |
---|
216 | has-occurrence(border-left-width, 0, 1); |
---|
217 | has-occurrence(border-top-width, 0, 1); |
---|
218 | has-occurrence(border-right-width, 0, 1); |
---|
219 | has-occurrence(border-bottom-width, 0, 1); |
---|
220 | has-occurrence(border-radius, 0, 1); |
---|
221 | has-occurrence(border-bottom-left-radius, 0, 1); |
---|
222 | has-occurrence(border-top-left-radius, 0, 1); |
---|
223 | has-occurrence(border-top-right-radius, 0, 1); |
---|
224 | has-occurrence(border-bottom-right-radius, 0, 1); |
---|
225 | has-occurrence(padding, 0, 1); |
---|
226 | has-occurrence(padding-left, 0, 1); |
---|
227 | has-occurrence(padding-top, 0, 1); |
---|
228 | has-occurrence(padding-right, 0, 1); |
---|
229 | has-occurrence(padding-bottom, 0, 1); |
---|
230 | has-occurrence(cursor, 0, 1); |
---|
231 | has-occurrence(z-index, 0, 1); |
---|
232 | has-occurrence(width, 0, 1); |
---|
233 | has-occurrence(min-width, 0, 1); |
---|
234 | has-occurrence(max-width, 0, 1); |
---|
235 | has-occurrence(height, 0, 1); |
---|
236 | has-occurrence(min-height, 0, 1); |
---|
237 | has-occurrence(max-height, 0, 1); |
---|
238 | has-occurrence(float, 0, 1); |
---|
239 | has-occurrence(clear, 0, 1); |
---|
240 | has-occurrence(content-orientation, 0, 1); |
---|
241 | has-occurrence(background-color, 0, 1); |
---|
242 | has-occurrence(vertical-align, 0, 1); |
---|
243 | plays-role(containee, contains, 1, *); |
---|
244 | plays-role(descendant, position, 0, 1); |
---|
245 | plays-role(ancestor, position, 0, 1); |
---|
246 | plays-role(container, contains, 0, *). |
---|
247 | |
---|
248 | |
---|
249 | # The abstract base topic type of all textual elements modeled by GDL topics |
---|
250 | direction gdl::direction isa tmcl:occurrence-type. |
---|
251 | text-align gdl:text-align isa tmcl:occurrence-type. |
---|
252 | line-height gdl:line-height isa tmcl:occurrence-type. |
---|
253 | text-decoration gdl:text-decoration isa tmcl:occurrence-type. |
---|
254 | color gdl:color isa tmcl:occurrence-type. |
---|
255 | font-family gdl:font-family isa tmcl:occurrence-type. |
---|
256 | font-style gdl:font-style isa tmcl:occurrence-type. |
---|
257 | font-size gdl:font-size isa tmcl:occurrence-type. |
---|
258 | font-weight gdl:font-weight isa tmcl:occurrence-type. |
---|
259 | letter-spacing gdl:letter-spacing isa tmcl:occurrence-type. |
---|
260 | word-spacing gdl:word-spacing isa tmcl:occurrence-type. |
---|
261 | |
---|
262 | TextObject gdlt:TextObject ako VisibleObject; |
---|
263 | isa tmcl:topic-type; |
---|
264 | is-abstract(); |
---|
265 | has-occurrence(direction, 0, 1); |
---|
266 | has-occurrence(text-align, 0, 1); |
---|
267 | has-occurrence(line-height, 0, 1); |
---|
268 | has-occurrence(text-decoration, 0, 1); |
---|
269 | has-occurrence(color, 0, 1); |
---|
270 | has-occurrence(font-family, 0, 1); |
---|
271 | has-occurrence(font-style, 0, 1); |
---|
272 | has-occurrence(font-size, 0, 1); |
---|
273 | has-occurrence(font-weight, 0, 1); |
---|
274 | has-occurrence(letter-spacing, 0, 1); |
---|
275 | has-occurrence(word-spacing, 0, 1). |
---|
276 | |
---|
277 | |
---|
278 | # The entire complex-data concept |
---|
279 | Complex-Data gdlt:Complex-Data ako VisibleObject; |
---|
280 | isa tmcl:topic-type; |
---|
281 | is-abstract(); |
---|
282 | plays-role(descriptor, view-binding, 1, 1). |
---|
283 | |
---|
284 | Image gdlt:Image ako Complex-Data; |
---|
285 | isa tmcl:topic-type. |
---|
286 | |
---|
287 | Video gdl:Video ako Complex-Data; |
---|
288 | isa tmcl:topic-type. |
---|
289 | |
---|
290 | Audio gdlt:Audio ako Complex-Data; |
---|
291 | isa tmcl:topic-type. |
---|
292 | |
---|
293 | Time-Picker gdlt:Time-Picker ako Complex-Data; |
---|
294 | isa tmcl:topic-type. |
---|
295 | |
---|
296 | Date-Picker gdlt:Date-Picker ako Complex-Data; |
---|
297 | isa tmcl:topic-type. |
---|
298 | |
---|
299 | Date-Time-Picker gdlt:Date-Time-Picker ako Complex-Data; |
---|
300 | isa tmcl:topic-type. |
---|
301 | |
---|
302 | |
---|
303 | # The abstract base topic type of all buttons modeled by GDL topics |
---|
304 | Button gdlt:Button ako TextObject; |
---|
305 | isa tmcl:topic-type; |
---|
306 | is-abstract(). |
---|
307 | |
---|
308 | |
---|
309 | # The input-button concept |
---|
310 | Input-Button gdlt:Input-Button ako Button; |
---|
311 | isa tmcl:topic-type; |
---|
312 | is-abstract(); |
---|
313 | plays-role(descriptor, view-binding, 1, 1). |
---|
314 | |
---|
315 | Radio-Button gdlt:Radio-Button ako Input-Button; |
---|
316 | isa tmcl:topic-type. |
---|
317 | |
---|
318 | Check-Box gdlt:Check-Box ako Input-Button; |
---|
319 | isa tmcl:topic-type. |
---|
320 | |
---|
321 | |
---|
322 | # The entire action-button concept |
---|
323 | Action-Button gdlt:Action-Button ako Button; |
---|
324 | isa tmcl:topic-type; |
---|
325 | plays-role(action-button, button-position, 0, 1); |
---|
326 | plays-role(containee, contains, 0, 1); |
---|
327 | plays-role(descriptor, view-binding, 0, 1). |
---|
328 | |
---|
329 | Validate-Button gdlt:Validate-Button ako Action-Button; |
---|
330 | isa tmcl:topic-type. |
---|
331 | |
---|
332 | Commit-Button gdlt:Commit-Button ako Action-Button; |
---|
333 | isa tmcl:topic-type. |
---|
334 | |
---|
335 | Delete-Button gdlt:Delete-Button ako Action-Button; |
---|
336 | isa tmcl:topic-type. |
---|
337 | |
---|
338 | |
---|
339 | # The entire schema concept |
---|
340 | view-name gdl:view-name isa tmcl:name-type. |
---|
341 | |
---|
342 | View gdlt:View ako Visible-Object; |
---|
343 | isa tmcl:topic-type; |
---|
344 | is-abstract(); |
---|
345 | has-name(view-name, 1, 1); |
---|
346 | plays-role(containee, contains, 1, 1); |
---|
347 | plays-role(container, contains, 0, *). |
---|
348 | |
---|
349 | Topic-View gdlt:Topic-View ako View; |
---|
350 | isa tmcl:topic-type; |
---|
351 | is-abstract(); |
---|
352 | plays-role(descriptor, topic-view-binding, 1, 1). |
---|
353 | |
---|
354 | Default-Topic-View gdlt:Default-Topic-View ako Topic-View; |
---|
355 | isa tmcl:topic-type; |
---|
356 | is-abstract(). |
---|
357 | |
---|
358 | Default-Creator-Topic-View gdlt:Default-Creator-Topic-View ako Default-Topic-View; |
---|
359 | isa tmcl:topic-type. |
---|
360 | |
---|
361 | Default-Editor-Topic-View gdlt::Default-Editor-Topic-View ako Default-Topic-View; |
---|
362 | isa tmcl:topic-type. |
---|
363 | |
---|
364 | Special-Topic-View gdlt:Special-Topic-View ako Topic-View; |
---|
365 | isa tmcl:topic-type; |
---|
366 | is-abstract(). |
---|
367 | |
---|
368 | Special-Creator-Topic-View gdlt:Special-Creator-Topic-View ako Special-Topic-View; |
---|
369 | isa tmcl:topic-type. |
---|
370 | |
---|
371 | Special-Editor-Topic-View gdlt:Special-Editor-Topic-View ako Special-Editor-Topic-View; |
---|
372 | isa tmcl:topic-type; |
---|
373 | |
---|
374 | Association-View gdlt:Association-View ako View; |
---|
375 | isa tmcl:topic-type; |
---|
376 | is-abstract(); |
---|
377 | plays-role(descriptor, association-view-binding, 2, 2). |
---|
378 | |
---|
379 | Creator-Association-view gdlt:Creator-Association-View ako Association-View; |
---|
380 | isa tmcl:topic-type. |
---|
381 | |
---|
382 | Editor-Association-view gdlt:Editor-Association-View ako Association-View; |
---|
383 | isa tmcl:topic-type; |
---|
384 | |
---|
385 | # The entire value concept |
---|
386 | Value gdlt:Value ako Descriptor; |
---|
387 | isa tmcl:topic-type; |
---|
388 | is-abstract(); |
---|
389 | plays-role(value, value-binding, 0, 1). |
---|
390 | |
---|
391 | fixed gdl:fixed isa tmcl:occurrence-type. |
---|
392 | |
---|
393 | Default-Value gdlt:Default-Value ako Value; |
---|
394 | isa tmcl:topic-type; |
---|
395 | is-abstract(); |
---|
396 | has-occurrence(fixed, 0, 1); |
---|
397 | plays-role(value, value-binding, 0, 1). |
---|
398 | |
---|
399 | literal-value gdl:literal-value isa tmcl:occurrence-type. |
---|
400 | |
---|
401 | Literal-Value gdlt:Literal-Value ako Value; |
---|
402 | isa tmcl:topic-type; |
---|
403 | has-occurrence(literal-value, 1, 1). |
---|
404 | |
---|
405 | Default-Literal-Value gdlt:Default-Literal-Value ako Default-Value; |
---|
406 | ako Literal-Value; |
---|
407 | isa tmcl:topic-type. |
---|
408 | |
---|
409 | TM-Value gdlt:TM-Value ako Value; |
---|
410 | isa tmcl:topic-type; |
---|
411 | is-abstract(); |
---|
412 | plays-role(tm-value, topic-view-binding, 0, *); |
---|
413 | plays-role(descriptor, display-by, 0, 1); |
---|
414 | plays-role(descriptor, tm-binding, 1, 1); |
---|
415 | plays-role(descriptor, preferred-scope, 0, 1). |
---|
416 | |
---|
417 | TM-Type-Value gdlt:TM-Type-Value ako TM-Value; |
---|
418 | isa tmcl:topic-type. |
---|
419 | |
---|
420 | TM-Single-Type-Value gdlt:Single-Type-Value ako TM-Value; |
---|
421 | isa tmcl:topic-type. |
---|
422 | |
---|
423 | TM-Multiple-Type-Value gdlt::TM-Multiple-Type-Value ako TM-Value; |
---|
424 | isa tmcl:topic-type. |
---|
425 | |
---|
426 | TM-Instance-Value gdlt:TM-Instance-Value ako TM-Value; |
---|
427 | isa tmcl:topic-type. |
---|
428 | |
---|
429 | Default-TM-Value gdlt:Default-TM-Value ako Default-Value; |
---|
430 | ako TM-Value; |
---|
431 | isa tmcl:topic-type; |
---|
432 | is-abstract(). |
---|
433 | |
---|
434 | Default-TM-Value-Type gdlt:Default-TM-Value-Type ako Default-Value; |
---|
435 | isa tmcl:topic-type. |
---|
436 | |
---|
437 | Default-TM-Single-Type-Value gdlt:Default-TM-Single-Type-Value ako Default-Value; |
---|
438 | isa tmcl:topic-type. |
---|
439 | |
---|
440 | Default-TM-Multiple-Type-Value gdlt:Default-TM-Multiple-Type-Value ako Default-Value; |
---|
441 | isa tmcl:topic-type. |
---|
442 | |
---|
443 | Default-TM-Instance-Value gdlt:Default-TM-Instance-Value ako Default-Value; |
---|
444 | isa tmcl:topic-type. |
---|
445 | |
---|
446 | Value-Group gdlt:Value-Group ako Descriptor; |
---|
447 | isa tmcl:topic-type; |
---|
448 | plays-role(value-group, view-binding, 1, 1); |
---|
449 | plays-role(descriptor, preferred-scope, 0, 1); |
---|
450 | plays-role(value-group, value-binding, 0, *); |
---|
451 | plays-role(value-group, tm-binding, 0, 1); |
---|
452 | plays-role(descriptor, display-by, 0, 1). |
---|
453 | |
---|
454 | Hidden-Value gdlt:Hidden-Value ako Descriptor; |
---|
455 | isa tmcl:topic-type; |
---|
456 | plays-role(containee, contains, 1, 1); |
---|
457 | plays-role(hidden-value, value-binding, 1, 1); |
---|
458 | plays-role(hidden-value, tm-binding, 1, 1). |
---|
459 | |
---|
460 | |
---|
461 | # Additional constraint-like topics defined by the GDL |
---|
462 | Datatype gdlt:Datatype ako Descriptor; |
---|
463 | isa tmcl:topic-type; |
---|
464 | plays-role(tm-construct, tm-binding, 1, 1); |
---|
465 | plays-role(descriptor, tm-binding, 0, 1). |
---|
466 | |
---|
467 | Type gdlt:Type ako Descriptor; |
---|
468 | isa tmcl:topic-type; |
---|
469 | plays-role(tm-construct, tm-binding, 1, 1); |
---|
470 | plays-role(descriptor, tm-binding, 0, 1). |
---|
471 | |
---|
472 | Variant-Name-Scope gdlt:Variant-Name-Scope ako Descriptor; |
---|
473 | isa tmcl:topic-type; |
---|
474 | plays-role(tm-construct, tm-binding, 1, 1); |
---|
475 | plays-role(descriptor, tm-binding, 1, 1). |
---|
476 | |
---|
477 | Variant-Name-Reifier gdlt:Variant-Name-Reifier ako Descriptor; |
---|
478 | isa tmcl:topic-type; |
---|
479 | plays-role(tm-construct, tm-binding, 1, 1); |
---|
480 | plays-role(descriptor, tm-binding, 1, 1). |
---|
481 | |
---|
482 | Variant-Name-Identifiers gdlt:Variant-Name-Identifiers ako Descriptor; |
---|
483 | isa tmcl:topic-type; |
---|
484 | plays-role(tm-construct, tm-binding, 1, 1); |
---|
485 | plays-role(descriptor, tm-binding, 1, 1). |
---|
486 | |
---|
487 | Role-Player gdlt:Role-Player ako Descriptor; |
---|
488 | isa tmcl:topic-type; |
---|
489 | plays-role(tm-construct, tm-binding, 1, 1); |
---|
490 | plays-role(descriptor, tm-binding, 1, 2). |
---|
491 | |
---|
492 | |
---|
493 | # The style-class concept along with the defined style-classes |
---|
494 | Style-Class gdlt:Style-Class isa tmcl:topic-type. |
---|
495 | |
---|
496 | hover isa gdlt:Style-Class. |
---|
497 | |
---|
498 | focus isa gdlt:Style-Class. |
---|
499 | |
---|
500 | active isa gdlt:Style-Class. |
---|
501 | |
---|
502 | |
---|
503 | # The positioning and referencing (nth-element) concept |
---|
504 | position-style gdl:position-style isa tmcl:occurrence-type. |
---|
505 | top gdl:top isa tmcl:occurrence-type. |
---|
506 | right gdl:right isa tmcl:occurrence-type. |
---|
507 | bottom gdl:bottom isa tmcl:occurrence-type. |
---|
508 | left gdl:left isa tmcl:occurrence-type. |
---|
509 | |
---|
510 | Position gdlt:Position isa tmcl:topic-type; |
---|
511 | isa tmcl:topic-type; |
---|
512 | has-occurrence(position-style, 0, 1); |
---|
513 | has-occurrence(top, 0, 1); |
---|
514 | has-occurrence(right, 0, 1); |
---|
515 | has-occurrence(bottom, 0, 1); |
---|
516 | has-occurrence(left, 0, 1); |
---|
517 | plays-role(descriptor, position, 1, 1). |
---|
518 | |
---|
519 | nth-value gdl:nth-value isa tmcl:occurrence-type. |
---|
520 | |
---|
521 | Nth-Element gdlt:Nth-Element isa Descriptor; |
---|
522 | isa tmcl:topic-type; |
---|
523 | has-occurrence(nth-value, 1, 1); |
---|
524 | plays-role(nth-element, contains, 1, 1); |
---|
525 | plays-role(nth-element, button-position, 1, 1). |
---|
526 | |
---|
527 | |
---|
528 | # All topics that are not abstract and are direct sub-classes of Visible-Object |
---|
529 | Space gdlt:Space ako Visible-Object; |
---|
530 | isa tmcl:topic-type. |
---|
531 | |
---|
532 | ordered gdl:ordered isa tmcl:occurrence-type. |
---|
533 | style-type gdl::style-type isa tmcl:occurrence-type. |
---|
534 | list-style-position gdl:list-style-position isa tmcl:occurrence-type. |
---|
535 | |
---|
536 | List gdlt:List ako Visible-Object; |
---|
537 | isa tmcl:topic-type; |
---|
538 | has-occurrence(ordered, 0, 1); |
---|
539 | has-occurrence(style-type, 0, 1); |
---|
540 | has-occurrence(list-style-position, 0, 1); |
---|
541 | plays-role(container, contains, 0, *). |
---|
542 | |
---|
543 | |
---|
544 | # All topics that are not abstract and are direct sub-classes of Text-Object |
---|
545 | multiple gdl:multiple isa tmcl:occurrence-type. |
---|
546 | Size gdl:size isa tmcl:occurrence-type. |
---|
547 | |
---|
548 | List-Box gdlt:List-Box ako Text-Object; |
---|
549 | isa tmcl:topic-type; |
---|
550 | has-occurrence(multiple, 0, 1); |
---|
551 | has-occurrence(size, 0, 1); |
---|
552 | plays-role(descriptor, view-binding, 1, 1). |
---|
553 | |
---|
554 | unit-name gdl:unit-name isa tmcl:occurrence-type. |
---|
555 | |
---|
556 | Unit gdlt:Unit ako Text-Object; |
---|
557 | isa tmcl:topic-type; |
---|
558 | has-occurrence(unit-name, 0, 1); |
---|
559 | plays-role(container, contains, 0, *); |
---|
560 | plays-role(descriptor, tm-binding, 0, 1). |
---|
561 | |
---|
562 | Text gdlt:Text ako Text-Object; |
---|
563 | isa tmcl:topic-type; |
---|
564 | has-occurrence(text-type, 0, 1); |
---|
565 | has-occurrence(readonly, 0, 1); |
---|
566 | has-occurrence(rows, 0, 1); |
---|
567 | has-occurrence(cols, 0, 1); |
---|
568 | has-occurrence(resize, 0, 1); |
---|
569 | plays-role(descriptor, view-binding, 1, 1). |
---|
570 | |
---|
571 | Info gdlt:Info ako Text-Object; |
---|
572 | isa tmcl:topic-type; |
---|
573 | plays-role(descriptor, view-binding, 1, 1); |
---|
574 | plays-role(containee, constains, 1, 1). |
---|
575 | |
---|
576 | Reference gdlt:Reference ako Text-Object; |
---|
577 | isa tmcl:topic-type; |
---|
578 | plays-role(descriptor, view-binding, 1, 1). |
---|
579 | |
---|
580 | title-order gdl:title-order isa tmcl:occurrence-type. |
---|
581 | |
---|
582 | Title gdlt:Title ako Text-Object; |
---|
583 | isa tmcl:topic-type; |
---|
584 | has-occurrence(title-order, 0, 1) ; |
---|
585 | plays-role(descriptor, view-binding, 1, 1). |
---|
586 | |
---|
587 | |
---|
588 | # All extensions for the TMCL constraints that enable the adoption to the GDL |
---|
589 | tmcl:topic-name-constraint plays-role(tm-construct, tm-binding, 0, *); |
---|
590 | plays-role(tm-construct, display-by, 0, 1). |
---|
591 | tmcl:variant-name-constraint plays-role(tm-construct, tm-binding, 0, *); |
---|
592 | plays-role(tm-construct, tm-binding, 0, *). |
---|
593 | tmcl:topic-occurrence-constraint plays-role(tm-construct, tm-binding, 0, *). |
---|
594 | tmcl:topic-role-constraint plays-role(tm-construct, association-view-binding, 0, *); |
---|
595 | plays-role(tm-construct, tm-binding, 0, *). |
---|
596 | tmcl:association-role-constraint plays-role(tm-construct, association-view-binding, 0, *); |
---|
597 | plays-role(tm-construct, tm-binding, 0, *). |
---|
598 | tmcl:topic-type plays-role(tm-construct, tm-binding, 0, *); |
---|
599 | plays-role(tm-construct, preferred-scope, 0, *). |
---|
600 | tmcl:subject-idenitifier-constraint plays-role(tm-construct, display-by, 0, 1); |
---|
601 | plays-role(tm-construct, tm-binding, 0, *). |
---|
602 | tmcl:subject-locator-constraint plays-role(tm-construct, display-by, 0, 1); |
---|
603 | plays-role(tm-construct, tm-binding, 0, *). |
---|
604 | tmcl:item-idenitifier-constraint plays-role(tm-construct, display-by, 0, 1); |
---|
605 | plays-role(tm-construct, tm-binding, 0, *). |
---|
606 | tmcl:reifier-constraint plays-role(tm-construct, tm-binding, 0, *). |
---|