Infrastructure

From BITPlan Wiki
Jump to navigation Jump to search
[edit]
Context
edit
name  Infrastructure
since  2024-07-27
updated  2025-05-26
copyright  Wolfgang Fahl
master  https://contexts.bitplan.com/index.php/Infrastructure


[edit]
 namepluralNameisAextendsiconiconUrldocumentationwikiDocumentationdefaultstoremodelistLimitcargoheaderTabscontext
DeviceDeviceDevicesComponent.png
/images/4/40/Component.png
A general class for electronic devicesA general class for electronic devicesproperty200falseInfrastructure
[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
100false is showInGrid of it
1016 is index of it
102"The purpose the device is used for" is documentation of it
103"Device" is topic of it
104
105# property manufacturer
106Device_manufacturer isA Property
107"manufacturer" is name of it
108"manufacturer" is label of it
109"Text" is type of it
1107 is index of it
111"The manufacturer of the device" is documentation of it
112true is showInGrid of it
113"Device" is topic of it
114
115# property model
116Device_model isA Property
117"model" is name of it
118"model" is label of it
119"Text" is type of it
1208 is index of it
121"The model of the device" is documentation of it
122true is showInGrid of it
123"Device" is topic of it
124
125# property serial
126Device_serial isA Property
127"serial" is name of it
128"serial" is label of it
129"Text" is type of it
1309 is index of it
131"The serial number of the device" is documentation of it
132"Device" is topic of it
133
134# property location
135Device_location isA Property
136"location" is name of it
137"location" is label of it
138"Text" is type of it
13910 is index of it
140"The location of the device" is documentation of it
141"Device" is topic of it
142
143# property ip
144Device_ip isA Property
145"ip" is name of it
146"ip" is label of it
147"Text" is type of it
14811 is index of it
149"The IP address assigned to the device" is documentation of it
150"Device" is topic of it
151
152# property mac
153Device_mac isA Property
154"mac" is name of it
155"mac" is label of it
156"Text" is type of it
15712 is index of it
158"MAC hardware address of the device" is documentation of it
159"Device" is topic of it
160
161# property website
162Device_website isA Property
163"website" is name of it
164"website" is label of it
165"Text" is type of it
16613 is index of it
167true is showInGrid of it
168"The website the device offers as a control panel" is documentation of it
169"Device" is topic of it
170
171# property driver
172Device_driver isA Property
173"driver" is name of it
174"driver" is label of it
175"Text" is type of it
17613 is index of it
177"The URL for the device driver of this device" is documentation of it
178"Device" is topic of it
179
180# property support
181Device_support isA Property
182"support" is name of it
183"support" is label of it
184"URL" is type of it
18514 is index of it
186"Website for device support" is documentation of it
187"Device" is topic of it
188
189# property comment
190Device_comment isA Property
191"comment" is name of it
192"comment" is label of it
193"Text" is type of it
19415 is index of it
195"textarea" is inputType of it
196"Any comments about the device" is documentation of it
197"Device" is topic of it
198
199#
200#Computer
201#
202Computer extends Device
203"Computer" is name of it
204"Computers" is pluralName of it
205"A computer runs software to automate tasks" is documentation of it
206"File:Workplace.png" is icon of it
207"/images/b/be/Workplace.png" is iconUrl of it
208"Infrastructure" is context of it
209Computer_os addsTo it
210Computer_osversion addsTo it
211Computer_location addsTo it
212Computer_vm addsTo it
213
214# properties specific to Computer
215# property os
216Computer_os isA Property
217"os" is name of it
218"os" is label of it
219"Text" is type of it
2209 is index of it
221"The operating system of the computer" is documentation of it
222false is isLink of it
223"Computer" is topic of it
224
225# property osversion
226Computer_osversion isA Property
227"osversion" is name of it
228"osversion" is label of it
229"Text" is type of it
23010 is index of it
231false is primaryKey of it
232false is mandatory of it
233false is uploadable of it
234"The operating system version of the computer" is documentation of it
235true is showInGrid of it
236false is isLink of it
237"Computer" is topic of it
238
239# property vm
240Computer_vm isA Property
241"vm" is name of it
242"vm" is label of it
243"Text" is type of it
24412 is index of it
245false is primaryKey of it
246false is mandatory of it
247false is uploadable of it
248"combobox" is inputType of it
249"The virtual machine being used by the computer" is documentation of it
250"property=Computer vm" is values_from of it
251true is showInGrid of it
252false is isLink of it
253"Computer" is topic of it
254
255#
256#Harddisk
257#
258Harddisk extends Device
259"Harddisk" is name of it
260"Harddisks" is pluralName of it
261"A harddisk stores data on magnetic media or using SSD technology" is documentation of it
262"File:Harddisk.png" is icon of it
263"/images/e/ea/Harddisk.png" is iconUrl of it
264"Infrastructure" is context of it
265Harddisk_size addsTo it
266Harddisk_formfactor addsTo it
267Harddisk_rpm addsTo it
268
269# properties specific to Harddisk
270# property size
271Harddisk_size isA Property
272"size" is name of it
273"size" is label of it
274"Number" is type of it
2759 is index of it
276false is primaryKey of it
277false is mandatory of it
278false is uploadable of it
279"Size of the harddisk in GB" is documentation of it
280true is showInGrid of it
281false is isLink of it
282"Harddisk" is topic of it
283
284# property formfactor
285Harddisk_formfactor isA Property
286"formfactor" is name of it
287"formfactor" is label of it
288"Text" is type of it
28910 is index of it
290false is primaryKey of it
291false is mandatory of it
292false is uploadable of it
293"radiobutton" is inputType of it
294"2.5, 3.5" is allowedValues of it
295"Form factor of the harddisk in inches" is documentation of it
296true is showInGrid of it
297false is isLink of it
298"Harddisk" is topic of it
299
300# property rpm
301Harddisk_rpm isA Property
302"rpm" is name of it
303"rpm" is label of it
304"Text" is type of it
30511 is index of it
306false is primaryKey of it
307false is mandatory of it
308false is uploadable of it
309"radiobutton" is inputType of it
310"5400,7200,SSD" is allowedValues of it
311"The number of rounds per minute or SSD if this is a solid-state drive" is documentation of it
312false is showInGrid of it
313false is isLink of it
314"Harddisk" is topic of it
315
316#
317# Monitor
318#
319Monitor extends Device
320"Monitor" is name of it
321"Monitors" is pluralName of it
322"A display device for computers" is documentation of it
323"File:Monitor.png" is icon of it
324"/images/f/f1/Monitor.png" is iconUrl of it
325"Infrastructure" is context of it
326Monitor_resolution addsTo it
327
328# properties specific to Monitor
329# property resolution
330Monitor_resolution isA Property
331"resolution" is name of it
332"resolution" is label of it
333"Text" is type of it
33416 is index of it
335true is mandatory of it
336"The display resolution of the monitor (e.g., 1920x1080)" is documentation of it
337true is showInGrid of it
338false is isLink of it
339"Monitor" is topic of it
340
341#
342# Printer
343#
344Printer extends Device
345"Printer" is name of it
346"Printers" is pluralName of it
347"Paper printer" is documentation of it
348"File:Printer3.png" is icon of it
349"/images/media/2/22/Printer3.png" is iconUrl of it
350"Infrastructure" is context of it
351
352#
353# TopicLinks
354#
355# Computer Device 1:n
356Connected_to_computer isA TopicLink
357"computer" is name of it
358"Computer" is source of it
359"Computer to which this Device is connected" is sourceDocumentation of it
360"computer" is sourceRole of it
361false is sourceMultiple of it
362"Device" is target of it
363"devices" is targetRole of it
364"Devices connected to this Computer" is targetDocumentation of it
365true is targetMultiple of it
366true is masterDetail of it