Infrastructure

From BITPlan Wiki
Jump to navigation Jump to search
[edit]
Context
edit
name  Infrastructure
since  2024/07/27
updated  2024-08-05
copyright  Wolfgang Fahl
master  http://master.bitplan.com


[edit]
[edit]

sidif

  1#
  2# This is the Inheritance example for the SiDIF based pyMetaModel
  3# see https://github.com/WolfgangFahl/pyMetaModel/issues/25
  4#
  5Infrastructure isA Context
  6"Infrastructure" is name of it
  7"2024-07-27" is since of it
  8"2024-08-02" is updated of it
  9"© 2024 Wolfgang Fahl" is copyright of it
 10"http://master.bitplan.com" is master of it
 11
 12#
 13# a generic computer device
 14#
 15Device isA Topic
 16"Device" is name of it
 17"Devices" is pluralName of it
 18"A general class for electronic devices" is documentation of it
 19"File:Component.png" is icon of it
 20"/images/4/40/Component.png" is iconUrl of it
 21"property" is defaultstoremode of it
 22"Infrastructure" is context of it
 23# Properties of Device
 24Device_name addsTo it
 25Device_type addsTo it
 26Device_since addsTo it
 27Device_until addsTo it
 28Device_active addsTo it
 29Device_purpose addsTo it
 30Device_manufacturer addsTo it
 31Device_model addsTo it
 32Device_serial addsTo it
 33Device_location addsTo it
 34Device_ip addsTo it
 35Device_mac addsTo it
 36Device_website addsTo it
 37Device_driver addsTo it
 38Device_support addsTo it
 39Device_comment addsTo it
 40# properties of Device
 41# property name
 42Device_name isA Property
 43"name" is name of it
 44"name" is label of it
 45"Text" is type of it
 461 is index of it
 47true is mandatory of it
 48"The name of the device" is documentation of it
 49true is showInGrid of it
 50"Device" is topic of it
 51
 52# property type
 53Device_type isA Property
 54"type" is name of it
 55"type" is label of it
 56"Text" is type of it
 572 is index of it
 58true is mandatory of it
 59"The type of the device" is documentation of it
 60true is showInGrid of it
 61"Device" is topic of it
 62
 63# property since
 64Device_since isA Property
 65"since" is name of it
 66"since" is label of it
 67"Date" is type of it
 683 is index of it
 69"datepicker" is inputType of it
 70"The date when the device was put into use" is documentation of it
 71true is showInGrid of it
 72"Device" is topic of it
 73
 74# property until
 75Device_until isA Property
 76"until" is name of it
 77"until" is label of it
 78"Date" is type of it
 794 is index of it
 80"datepicker" is inputType of it
 81"The date when the device was put out of use" is documentation of it
 82true is showInGrid of it
 83"Device" is topic of it
 84
 85# property active
 86Device_active isA Property
 87"active" is name of it
 88"active" is label of it
 89"boolean" is type of it
 905 is index of it
 91"True if the device is currently in operation" is documentation of it
 92true is showInGrid of it
 93"Device" is topic of it
 94
 95# property purpose
 96Device_purpose isA Property
 97"purpose" is name of it
 98"purpose" is label of it
 99"Text" is type of it
1006 is index of it
101"The purpose the device is used for" is documentation of it
102"Device" is topic of it
103
104# property manufacturer
105Device_manufacturer isA Property
106"manufacturer" is name of it
107"manufacturer" is label of it
108"Text" is type of it
1097 is index of it
110"The manufacturer of the device" is documentation of it
111true is showInGrid of it
112"Device" is topic of it
113
114# property model
115Device_model isA Property
116"model" is name of it
117"model" is label of it
118"Text" is type of it
1198 is index of it
120"The model of the device" is documentation of it
121true is showInGrid of it
122"Device" is topic of it
123
124# property serial
125Device_serial isA Property
126"serial" is name of it
127"serial" is label of it
128"Text" is type of it
1299 is index of it
130"The serial number of the device" is documentation of it
131"Device" is topic of it
132
133# property location
134Device_location isA Property
135"location" is name of it
136"location" is label of it
137"Text" is type of it
13810 is index of it
139"The location of the device" is documentation of it
140"Device" is topic of it
141
142# property ip
143Device_ip isA Property
144"ip" is name of it
145"ip" is label of it
146"Text" is type of it
14711 is index of it
148"The IP address assigned to the device" is documentation of it
149"Device" is topic of it
150
151# property mac
152Device_mac isA Property
153"mac" is name of it
154"mac" is label of it
155"Text" is type of it
15612 is index of it
157"MAC hardware address of the device" is documentation of it
158"Device" is topic of it
159
160# property website
161Device_website isA Property
162"website" is name of it
163"website" is label of it
164"Text" is type of it
16513 is index of it
166"The website the device offers as a control panel" is documentation of it
167"Device" is topic of it
168
169# property driver
170Device_driver isA Property
171"driver" is name of it
172"driver" is label of it
173"Text" is type of it
17413 is index of it
175"The URL for the device driver of this device" is documentation of it
176"Device" is topic of it
177
178# property support
179Device_support isA Property
180"support" is name of it
181"support" is label of it
182"URL" is type of it
18314 is index of it
184"Website for device support" is documentation of it
185"Device" is topic of it
186
187# property comment
188Device_comment isA Property
189"comment" is name of it
190"comment" is label of it
191"Text" is type of it
19215 is index of it
193"textarea" is inputType of it
194"Any comments about the device" is documentation of it
195"Device" is topic of it
196
197#
198#Computer
199#
200Computer extends Device
201"Computer" is name of it
202"Computers" is pluralName of it
203"A computer runs software to automate tasks" is documentation of it
204"File:Workplace.png" is icon of it
205"/images/b/be/Workplace.png" is iconUrl of it
206"Infrastructure" is context of it
207Computer_os addsTo it
208Computer_osversion addsTo it
209Computer_location addsTo it
210Computer_vm addsTo it
211
212# properties specific to Computer
213# property os
214Computer_os isA Property
215"os" is name of it
216"os" is label of it
217"Text" is type of it
2189 is index of it
219"The operating system of the computer" is documentation of it
220false is isLink of it
221"Computer" is topic of it
222
223# property osversion
224Computer_osversion isA Property
225"osversion" is name of it
226"osversion" is label of it
227"Text" is type of it
22810 is index of it
229false is primaryKey of it
230false is mandatory of it
231false is uploadable of it
232"The operating system version of the computer" is documentation of it
233true is showInGrid of it
234false is isLink of it
235"Computer" is topic of it
236
237# property vm
238Computer_vm isA Property
239"vm" is name of it
240"vm" is label of it
241"Text" is type of it
24212 is index of it
243false is primaryKey of it
244false is mandatory of it
245false is uploadable of it
246"combobox" is inputType of it
247"The virtual machine being used by the computer" is documentation of it
248"property=Computer vm" is values_from of it
249true is showInGrid of it
250false is isLink of it
251"Computer" is topic of it
252
253#
254#Harddisk
255#
256Harddisk extends Device
257"Harddisk" is name of it
258"Harddisks" is pluralName of it
259"A harddisk stores data on magnetic media or using SSD technology" is documentation of it
260"File:Harddisk.png" is icon of it
261"/images/e/ea/Harddisk.png" is iconUrl of it
262"Infrastructure" is context of it
263Harddisk_size addsTo it
264Harddisk_formfactor addsTo it
265Harddisk_rpm addsTo it
266
267# properties specific to Harddisk
268# property size
269Harddisk_size isA Property
270"size" is name of it
271"size" is label of it
272"Number" is type of it
2739 is index of it
274false is primaryKey of it
275false is mandatory of it
276false is uploadable of it
277"Size of the harddisk in GB" is documentation of it
278true is showInGrid of it
279false is isLink of it
280"Harddisk" is topic of it
281
282# property formfactor
283Harddisk_formfactor isA Property
284"formfactor" is name of it
285"formfactor" is label of it
286"Text" is type of it
28710 is index of it
288false is primaryKey of it
289false is mandatory of it
290false is uploadable of it
291"radiobutton" is inputType of it
292"2.5, 3.5" is allowedValues of it
293"Form factor of the harddisk in inches" is documentation of it
294true is showInGrid of it
295false is isLink of it
296"Harddisk" is topic of it
297
298# property rpm
299Harddisk_rpm isA Property
300"rpm" is name of it
301"rpm" is label of it
302"Text" is type of it
30311 is index of it
304false is primaryKey of it
305false is mandatory of it
306false is uploadable of it
307"radiobutton" is inputType of it
308"5400,7200,SSD" is allowedValues of it
309"The number of rounds per minute or SSD if this is a solid-state drive" is documentation of it
310false is showInGrid of it
311false is isLink of it
312"Harddisk" is topic of it
313
314#
315# Monitor
316#
317Monitor extends Device
318"Monitor" is name of it
319"Monitors" is pluralName of it
320"A display device for computers" is documentation of it
321"File:Monitor.png" is icon of it
322"/images/f/f1/Monitor.png" is iconUrl of it
323"Infrastructure" is context of it
324Monitor_resolution addsTo it
325
326# properties specific to Monitor
327# property resolution
328Monitor_resolution isA Property
329"resolution" is name of it
330"resolution" is label of it
331"Text" is type of it
33216 is index of it
333true is mandatory of it
334"The display resolution of the monitor (e.g., 1920x1080)" is documentation of it
335true is showInGrid of it
336false is isLink of it
337"Monitor" is topic of it
338
339#
340# Printer
341#
342Printer extends Device
343"Printer" is name of it
344"Printers" is pluralName of it
345"Paper printer" is documentation of it
346"File:Printer3.png" is icon of it
347"/images/media/2/22/Printer3.png" is iconUrl of it
348"Infrastructure" is context of it
349
350#
351# TopicLinks
352#
353# Computer Device 1:n
354Connected_to_computer isA TopicLink
355"computer" is name of it
356"Computer" is source of it
357"Computer to which this Device is connected" is sourceDocumentation of it
358"computer" is sourceRole of it
359false is sourceMultiple of it
360"Device" is target of it
361"devices" is targetRole of it
362"Devices connected to this Computer" is targetDocumentation of it
363true is targetMultiple of it
364true is masterDetail of it