forked from smart-grid-use-cases/excel2xml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IEC62559.py
5477 lines (4303 loc) · 342 KB
/
IEC62559.py
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# ./IEC62559.py
# -*- coding: utf-8 -*-
# PyXB bindings for NM:ca5c09406a51855b87dbeb76e5f77a5f25dac427
# Generated 2020-07-17 10:08:14.881305 by PyXB version 1.2.6 using Python 3.7.3.final.0
# Namespace http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016
from __future__ import unicode_literals
import pyxb
import pyxb.binding
import pyxb.binding.saxer
import io
import pyxb.utils.utility
import pyxb.utils.domutils
import sys
import pyxb.utils.six as _six
# Unique identifier for bindings created at the same time
_GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:aa1f184c-c804-11ea-9041-b42e99d733c1')
# Version of PyXB used to generate the bindings
_PyXBVersion = '1.2.6'
# Generated bindings are not compatible across PyXB versions
if pyxb.__version__ != _PyXBVersion:
raise pyxb.PyXBVersionError(_PyXBVersion)
# A holder for module-level binding classes so we can access them from
# inside class definitions where property names may conflict.
_module_typeBindings = pyxb.utils.utility.Object()
# Import bindings for namespaces imported into schema
import pyxb.binding.datatypes
# NOTE: All namespace declarations are reserved within the binding
Namespace = pyxb.namespace.NamespaceForURI('http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016', create_if_missing=True)
Namespace.configureCategories(['typeBinding', 'elementBinding'])
def CreateFromDocument (xml_text, default_namespace=None, location_base=None):
"""Parse the given XML and use the document element to create a
Python instance.
@param xml_text An XML document. This should be data (Python 2
str or Python 3 bytes), or a text (Python 2 unicode or Python 3
str) in the L{pyxb._InputEncoding} encoding.
@keyword default_namespace The L{pyxb.Namespace} instance to use as the
default namespace where there is no default namespace in scope.
If unspecified or C{None}, the namespace of the module containing
this function will be used.
@keyword location_base: An object to be recorded as the base of all
L{pyxb.utils.utility.Location} instances associated with events and
objects handled by the parser. You might pass the URI from which
the document was obtained.
"""
if pyxb.XMLStyle_saxer != pyxb._XMLStyle:
dom = pyxb.utils.domutils.StringToDOM(xml_text)
return CreateFromDOM(dom.documentElement, default_namespace=default_namespace)
if default_namespace is None:
default_namespace = Namespace.fallbackNamespace()
saxer = pyxb.binding.saxer.make_parser(fallback_namespace=default_namespace, location_base=location_base)
handler = saxer.getContentHandler()
xmld = xml_text
if isinstance(xmld, _six.text_type):
xmld = xmld.encode(pyxb._InputEncoding)
saxer.parse(io.BytesIO(xmld))
instance = handler.rootObject()
return instance
def CreateFromDOM (node, default_namespace=None):
"""Create a Python instance from the given DOM node.
The node tag must correspond to an element declaration in this module.
@deprecated: Forcing use of DOM interface is unnecessary; use L{CreateFromDocument}."""
if default_namespace is None:
default_namespace = Namespace.fallbackNamespace()
return pyxb.binding.basis.element.AnyCreateFromDOM(node, default_namespace)
# Atomic simple type: {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}DrawingClassification
class DrawingClassification (pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin):
"""possible types of drawing"""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'DrawingClassification')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 142, 0)
_Documentation = 'possible types of drawing'
DrawingClassification._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=DrawingClassification, enum_prefix=None)
DrawingClassification.domain_overview = DrawingClassification._CF_enumeration.addEnumeration(unicode_value='domain overview', tag='domain_overview')
DrawingClassification.use_case_overview = DrawingClassification._CF_enumeration.addEnumeration(unicode_value='use case overview', tag='use_case_overview')
DrawingClassification.documentation = DrawingClassification._CF_enumeration.addEnumeration(unicode_value='documentation', tag='documentation')
DrawingClassification.scenarios_flowchart = DrawingClassification._CF_enumeration.addEnumeration(unicode_value='scenarios flowchart', tag='scenarios_flowchart')
DrawingClassification.scenario_overview = DrawingClassification._CF_enumeration.addEnumeration(unicode_value='scenario overview', tag='scenario_overview')
DrawingClassification.activities_flowchart = DrawingClassification._CF_enumeration.addEnumeration(unicode_value='activities flowchart', tag='activities_flowchart')
DrawingClassification.activity_overview = DrawingClassification._CF_enumeration.addEnumeration(unicode_value='activity overview', tag='activity_overview')
DrawingClassification.business_objects_overview = DrawingClassification._CF_enumeration.addEnumeration(unicode_value='business objects overview', tag='business_objects_overview')
DrawingClassification.other = DrawingClassification._CF_enumeration.addEnumeration(unicode_value='other', tag='other')
DrawingClassification.role_model = DrawingClassification._CF_enumeration.addEnumeration(unicode_value='role model', tag='role_model')
DrawingClassification._InitializeFacetMap(DrawingClassification._CF_enumeration)
Namespace.addCategoryObject('typeBinding', 'DrawingClassification', DrawingClassification)
_module_typeBindings.DrawingClassification = DrawingClassification
# Atomic simple type: {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}Resource_String_value_ValueType
class Resource_String_value_ValueType (pyxb.binding.datatypes.string):
"""An atomic simple type."""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Resource_String_value_ValueType')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 218, 0)
_Documentation = None
Resource_String_value_ValueType._InitializeFacetMap()
Namespace.addCategoryObject('typeBinding', 'Resource_String_value_ValueType', Resource_String_value_ValueType)
_module_typeBindings.Resource_String_value_ValueType = Resource_String_value_ValueType
# Atomic simple type: {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}ResourceType
class ResourceType (pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin):
"""list of possible resources"""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'ResourceType')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 221, 0)
_Documentation = 'list of possible resources'
ResourceType._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=ResourceType, enum_prefix=None)
ResourceType.image = ResourceType._CF_enumeration.addEnumeration(unicode_value='image', tag='image')
ResourceType.UMLDiagram = ResourceType._CF_enumeration.addEnumeration(unicode_value='UMLDiagram', tag='UMLDiagram')
ResourceType._InitializeFacetMap(ResourceType._CF_enumeration)
Namespace.addCategoryObject('typeBinding', 'ResourceType', ResourceType)
_module_typeBindings.ResourceType = ResourceType
# Complex type {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}Activity with content type ELEMENT_ONLY
class Activity (pyxb.binding.basis.complexTypeDefinition):
"""It may be subdivided into other activities or represent an elementary step of the
scenario."""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Activity')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 5, 0)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element BusinessObject uses Python identifier BusinessObject
__BusinessObject = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'BusinessObject'), 'BusinessObject', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Activity_BusinessObject', True, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 11, 0), )
BusinessObject = property(__BusinessObject.value, __BusinessObject.set, None, 'This describes briefly the information to be exchanged between\nthe two actors – information producer and information receiver. It may list several information items in one step, comma\nseparated.')
# Element ChildActivity uses Python identifier ChildActivity
__ChildActivity = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'ChildActivity'), 'ChildActivity', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Activity_ChildActivity', True, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 19, 0), )
ChildActivity = property(__ChildActivity.value, __ChildActivity.set, None, 'child activities')
# Element description uses Python identifier description
__description = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'description'), 'description', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Activity_description', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 24, 0), )
description = property(__description.value, __description.set, None, 'description of the object')
# Element Drawing uses Python identifier Drawing
__Drawing = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'Drawing'), 'Drawing', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Activity_Drawing', True, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 29, 0), )
Drawing = property(__Drawing.value, __Drawing.set, None, 'the list of associated drawing')
# Element event uses Python identifier event
__event = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'event'), 'event', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Activity_event', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 34, 0), )
event = property(__event.value, __event.set, None, 'It is the event that triggers the step. This might be completion of\nprevious steps (in that case the event is the comma-separated list of their numbers) or the condition to exit a\nloop.')
# Element InformationProducer uses Python identifier InformationProducer
__InformationProducer = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'InformationProducer'), 'InformationProducer', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Activity_InformationProducer', True, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 41, 0), )
InformationProducer = property(__InformationProducer.value, __InformationProducer.set, None, 'This identifies the producer or source of the information. Thisshould be one of the actors defined in the repository.')
# Element InformationReceiver uses Python identifier InformationReceiver
__InformationReceiver = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'InformationReceiver'), 'InformationReceiver', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Activity_InformationReceiver', True, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 47, 0), )
InformationReceiver = property(__InformationReceiver.value, __InformationReceiver.set, None, 'This identifies the receiver of the information. This should be one\nof the actors defined in the repository.')
# Element mRID uses Python identifier mRID
__mRID = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'mRID'), 'mRID', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Activity_mRID', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 54, 0), )
mRID = property(__mRID.value, __mRID.set, None, 'master resource identifier')
# Element name uses Python identifier name
__name = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'name'), 'name', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Activity_name', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 59, 0), )
name = property(__name.value, __name.set, None, 'a short name')
# Element number uses Python identifier number
__number = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'number'), 'number', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Activity_number', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 64, 0), )
number = property(__number.value, __number.set, None, 'index of the activity')
# Element PrimaryActor uses Python identifier PrimaryActor
__PrimaryActor = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'PrimaryActor'), 'PrimaryActor', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Activity_PrimaryActor', True, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 69, 0), )
PrimaryActor = property(__PrimaryActor.value, __PrimaryActor.set, None, 'reference to the PrimaryActor')
# Element Requirement uses Python identifier Requirement
__Requirement = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'Requirement'), 'Requirement', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Activity_Requirement', True, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 74, 0), )
Requirement = property(__Requirement.value, __Requirement.set, None, 'Several requirements may be listed in one step, comma\nseparated.')
# Element service uses Python identifier service
__service = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'service'), 'service', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Activity_service', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 81, 0), )
service = property(__service.value, __service.set, None, 'This column identifies the nature of the information flow and the\noriginator of the information. Available options are CREATE, GET, CHANGE, DELETE, CANCEL, EXECUTE derived from\nIEC 61968-100:2013.\nAdditionally, REPORT, TIMER and REPEAT are suggested.\n- CREATE means that an information object is to be created at the Producer.\n- GET (this is the default value if none is populated) means that the Receiver requests information from the Producer\n(default).\n- CHANGE means that information is to be updated. Producer updates the Receiver’s information.\n- DELETE means that information is to be deleted. Producer deletes information from the Receiver.\n- CANCEL, CLOSE imply actions related to processes, such as the closure of a work order or the cancellation of a\ncontrol request.\n- EXECUTE is used when a complex transaction is being conveyed using a service, which potentially contains more\nthan one verb.\n- REPORT is used to represent transferral of unsolicited information or asynchronous information flows. Producer\nprovides information to the Receiver.\n- TIMER is used to represent a waiting period. When using the TIMER service, the Information Producer and\nInformation Receiver fields shall refer to the same actor.\n- REPEAT is used to indicate that a series of steps is repeated until a condition or trigger event. The condition is\nspecified as the text in the "Event" column for this row or step. Following the word REPEAT, the first and last step numbers of\nthe series to be repeated shall appear, in parenthesis, in the following form: REPEAT(X-Y) where X is the first step and Y is the\nlast step.\nThese common service definitions are related to automation/information or communication systems. In case the use case\ntemplate is applied in other domains, further services might be used and described.')
_ElementMap.update({
__BusinessObject.name() : __BusinessObject,
__ChildActivity.name() : __ChildActivity,
__description.name() : __description,
__Drawing.name() : __Drawing,
__event.name() : __event,
__InformationProducer.name() : __InformationProducer,
__InformationReceiver.name() : __InformationReceiver,
__mRID.name() : __mRID,
__name.name() : __name,
__number.name() : __number,
__PrimaryActor.name() : __PrimaryActor,
__Requirement.name() : __Requirement,
__service.name() : __service
})
_AttributeMap.update({
})
_module_typeBindings.Activity = Activity
Namespace.addCategoryObject('typeBinding', 'Activity', Activity)
# Complex type {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}Drawing with content type ELEMENT_ONLY
class Drawing (pyxb.binding.basis.complexTypeDefinition):
"""For clarification, in general it is recommended to provide drawing(s) by hand, by
a graphic or as UML graphics (preferred in IEC 62559). The drawing should show interactions which identify the steps where
possible."""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Drawing')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 110, 0)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element drawingType uses Python identifier drawingType
__drawingType = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'drawingType'), 'drawingType', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Drawing_drawingType', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 117, 0), )
drawingType = property(__drawingType.value, __drawingType.set, None, 'type of drawing')
# Element mRID uses Python identifier mRID
__mRID = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'mRID'), 'mRID', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Drawing_mRID', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 121, 0), )
mRID = property(__mRID.value, __mRID.set, None, 'master resource identifier')
# Element name uses Python identifier name
__name = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'name'), 'name', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Drawing_name', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 126, 0), )
name = property(__name.value, __name.set, None, 'a short name')
# Element URI uses Python identifier URI
__URI = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'URI'), 'URI', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Drawing_URI', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 131, 0), )
URI = property(__URI.value, __URI.set, None, 'resource Path to an image file\nex: http://www..../image.jpg\nor\npath to an XMI file with a relative diagram path from the root of the UML model. ex:\nhttp://www.../Model.xmi#Package1/Package2/.../DiagName')
_ElementMap.update({
__drawingType.name() : __drawingType,
__mRID.name() : __mRID,
__name.name() : __name,
__URI.name() : __URI
})
_AttributeMap.update({
})
_module_typeBindings.Drawing = Drawing
Namespace.addCategoryObject('typeBinding', 'Drawing', Drawing)
# Complex type {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}Ref_Requirement with content type ELEMENT_ONLY
class Ref_Requirement (pyxb.binding.basis.complexTypeDefinition):
"""requirement of a part of the use case"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Ref_Requirement')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 238, 0)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element mRID uses Python identifier mRID
__mRID = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'mRID'), 'mRID', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Ref_Requirement_mRID', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 243, 0), )
mRID = property(__mRID.value, __mRID.set, None, 'master resource identifier')
_ElementMap.update({
__mRID.name() : __mRID
})
_AttributeMap.update({
})
_module_typeBindings.Ref_Requirement = Ref_Requirement
Namespace.addCategoryObject('typeBinding', 'Ref_Requirement', Ref_Requirement)
# Complex type {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}Ref_Actor with content type ELEMENT_ONLY
class Ref_Actor (pyxb.binding.basis.complexTypeDefinition):
"""It is the entity that communicates and interacts.
These actors can include people, software applications, systems, databases, and even the power system
itself."""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Ref_Actor')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 250, 0)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element mRID uses Python identifier mRID
__mRID = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'mRID'), 'mRID', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Ref_Actor_mRID', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 257, 0), )
mRID = property(__mRID.value, __mRID.set, None, 'master resource identifier')
_ElementMap.update({
__mRID.name() : __mRID
})
_AttributeMap.update({
})
_module_typeBindings.Ref_Actor = Ref_Actor
Namespace.addCategoryObject('typeBinding', 'Ref_Actor', Ref_Actor)
# Complex type {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}Ref_BusinessObject with content type ELEMENT_ONLY
class Ref_BusinessObject (pyxb.binding.basis.complexTypeDefinition):
"""business object exchanged in detailed activity steps"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Ref_BusinessObject')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 264, 0)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element mRID uses Python identifier mRID
__mRID = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'mRID'), 'mRID', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Ref_BusinessObject_mRID', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 269, 0), )
mRID = property(__mRID.value, __mRID.set, None, 'master resource identifier')
_ElementMap.update({
__mRID.name() : __mRID
})
_AttributeMap.update({
})
_module_typeBindings.Ref_BusinessObject = Ref_BusinessObject
Namespace.addCategoryObject('typeBinding', 'Ref_BusinessObject', Ref_BusinessObject)
# Complex type {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}Actor with content type ELEMENT_ONLY
class Actor (pyxb.binding.basis.complexTypeDefinition):
"""It is the entity that communicates and interacts.
These actors can include people, software applications, systems, databases, and even the power system
itself."""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Actor')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 275, 0)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element description uses Python identifier description
__description = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'description'), 'description', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Actor_description', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 282, 0), )
description = property(__description.value, __description.set, None, 'description of the object')
# Element mRID uses Python identifier mRID
__mRID = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'mRID'), 'mRID', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Actor_mRID', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 287, 0), )
mRID = property(__mRID.value, __mRID.set, None, 'master resource identifier')
# Element name uses Python identifier name
__name = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'name'), 'name', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Actor_name', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 292, 0), )
name = property(__name.value, __name.set, None, 'a short name')
# Element type uses Python identifier type
__type = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'type'), 'type', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Actor_type', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 297, 0), )
type = property(__type.value, __type.set, None, 'type of the actor (business, system, ...)')
_ElementMap.update({
__description.name() : __description,
__mRID.name() : __mRID,
__name.name() : __name,
__type.name() : __type
})
_AttributeMap.update({
})
_module_typeBindings.Actor = Actor
Namespace.addCategoryObject('typeBinding', 'Actor', Actor)
# Complex type {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}ActorGrouping with content type ELEMENT_ONLY
class ActorGrouping (pyxb.binding.basis.complexTypeDefinition):
"""group of actors used to organize an actor list"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'ActorGrouping')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 304, 0)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element description uses Python identifier description
__description = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'description'), 'description', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_ActorGrouping_description', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 309, 0), )
description = property(__description.value, __description.set, None, 'description of the object')
# Element FurtherActorInformation uses Python identifier FurtherActorInformation
__FurtherActorInformation = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'FurtherActorInformation'), 'FurtherActorInformation', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_ActorGrouping_FurtherActorInformation', True, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 314, 0), )
FurtherActorInformation = property(__FurtherActorInformation.value, __FurtherActorInformation.set, None, 'In a context of one use case, an actor grouped into an\nActorGrouping may have one FurtherActorInformation.')
# Element mRID uses Python identifier mRID
__mRID = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'mRID'), 'mRID', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_ActorGrouping_mRID', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 321, 0), )
mRID = property(__mRID.value, __mRID.set, None, 'master resource identifier')
# Element name uses Python identifier name
__name = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'name'), 'name', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_ActorGrouping_name', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 326, 0), )
name = property(__name.value, __name.set, None, 'a short name')
_ElementMap.update({
__description.name() : __description,
__FurtherActorInformation.name() : __FurtherActorInformation,
__mRID.name() : __mRID,
__name.name() : __name
})
_AttributeMap.update({
})
_module_typeBindings.ActorGrouping = ActorGrouping
Namespace.addCategoryObject('typeBinding', 'ActorGrouping', ActorGrouping)
# Complex type {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}FurtherActorInformation with content type ELEMENT_ONLY
class FurtherActorInformation (pyxb.binding.basis.complexTypeDefinition):
"""Individual or additional information that relates to the use case can be
provided."""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'FurtherActorInformation')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 333, 0)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element Actor uses Python identifier Actor
__Actor = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'Actor'), 'Actor', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_FurtherActorInformation_Actor', True, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 339, 0), )
Actor = property(__Actor.value, __Actor.set, None, 'information related to an actor')
# Element description uses Python identifier description
__description = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'description'), 'description', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_FurtherActorInformation_description', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 344, 0), )
description = property(__description.value, __description.set, None, 'description of the object')
# Element mRID uses Python identifier mRID
__mRID = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'mRID'), 'mRID', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_FurtherActorInformation_mRID', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 348, 0), )
mRID = property(__mRID.value, __mRID.set, None, 'master resource identifier')
_ElementMap.update({
__Actor.name() : __Actor,
__description.name() : __description,
__mRID.name() : __mRID
})
_AttributeMap.update({
})
_module_typeBindings.FurtherActorInformation = FurtherActorInformation
Namespace.addCategoryObject('typeBinding', 'FurtherActorInformation', FurtherActorInformation)
# Complex type {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}ActorLibrary with content type ELEMENT_ONLY
class ActorLibrary (pyxb.binding.basis.complexTypeDefinition):
"""actors of the repository"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'ActorLibrary')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 355, 0)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element Actor uses Python identifier Actor
__Actor = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'Actor'), 'Actor', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_ActorLibrary_Actor', True, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 360, 0), )
Actor = property(__Actor.value, __Actor.set, None, 'the actors listed in the library')
# Element name uses Python identifier name
__name = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'name'), 'name', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_ActorLibrary_name', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 365, 0), )
name = property(__name.value, __name.set, None, 'a short name')
_ElementMap.update({
__Actor.name() : __Actor,
__name.name() : __name
})
_AttributeMap.update({
})
_module_typeBindings.ActorLibrary = ActorLibrary
Namespace.addCategoryObject('typeBinding', 'ActorLibrary', ActorLibrary)
# Complex type {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}Area with content type ELEMENT_ONLY
class Area (pyxb.binding.basis.complexTypeDefinition):
"""area of knowledge or activity characterized by a set of concepts and terminology
understood by the practitioners in that area"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Area')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 372, 0)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element description uses Python identifier description
__description = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'description'), 'description', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Area_description', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 378, 0), )
description = property(__description.value, __description.set, None, 'description of the object')
# Element mRID uses Python identifier mRID
__mRID = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'mRID'), 'mRID', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Area_mRID', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 383, 0), )
mRID = property(__mRID.value, __mRID.set, None, 'master resource identifier')
# Element name uses Python identifier name
__name = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'name'), 'name', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Area_name', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 388, 0), )
name = property(__name.value, __name.set, None, 'a short name')
_ElementMap.update({
__description.name() : __description,
__mRID.name() : __mRID,
__name.name() : __name
})
_AttributeMap.update({
})
_module_typeBindings.Area = Area
Namespace.addCategoryObject('typeBinding', 'Area', Area)
# Complex type {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}Author with content type ELEMENT_ONLY
class Author (pyxb.binding.basis.complexTypeDefinition):
"""This field is used to document who has provided the current version. It can be a
person, organization or, for example, standardization committee like a technical committee (TC) or working group
(WG)."""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Author')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 395, 0)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element mRID uses Python identifier mRID
__mRID = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'mRID'), 'mRID', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Author_mRID', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 402, 0), )
mRID = property(__mRID.value, __mRID.set, None, 'master resource identifier')
# Element name uses Python identifier name
__name = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'name'), 'name', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Author_name', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 407, 0), )
name = property(__name.value, __name.set, None, 'a short name')
_ElementMap.update({
__mRID.name() : __mRID,
__name.name() : __name
})
_AttributeMap.update({
})
_module_typeBindings.Author = Author
Namespace.addCategoryObject('typeBinding', 'Author', Author)
# Complex type {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}BusinessCase with content type ELEMENT_ONLY
class BusinessCase (pyxb.binding.basis.complexTypeDefinition):
"""It provides a description or reference with some rationale for the suggested use
case. Usually the business case is related to several use cases."""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'BusinessCase')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 414, 0)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element Area uses Python identifier Area
__Area = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'Area'), 'Area', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_BusinessCase_Area', True, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 420, 0), )
Area = property(__Area.value, __Area.set, None, 'Use cases can be used in various areas (e.g. energy system).Within these areas different domains are used to define / determine a more specific subgrouping. One or more domains and\nzones, comma separated, can be specified in the template.')
# Element description uses Python identifier description
__description = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'description'), 'description', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_BusinessCase_description', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 426, 0), )
description = property(__description.value, __description.set, None, 'description of the object')
# Element mRID uses Python identifier mRID
__mRID = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'mRID'), 'mRID', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_BusinessCase_mRID', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 431, 0), )
mRID = property(__mRID.value, __mRID.set, None, 'master resource identifier')
# Element name uses Python identifier name
__name = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'name'), 'name', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_BusinessCase_name', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 436, 0), )
name = property(__name.value, __name.set, None, 'a short name')
_ElementMap.update({
__Area.name() : __Area,
__description.name() : __description,
__mRID.name() : __mRID,
__name.name() : __name
})
_AttributeMap.update({
})
_module_typeBindings.BusinessCase = BusinessCase
Namespace.addCategoryObject('typeBinding', 'BusinessCase', BusinessCase)
# Complex type {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}Ref_Area with content type ELEMENT_ONLY
class Ref_Area (pyxb.binding.basis.complexTypeDefinition):
"""area of knowledge or activity characterized by a set of concepts and terminology
understood by the practitioners in that area"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Ref_Area')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 443, 0)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element mRID uses Python identifier mRID
__mRID = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'mRID'), 'mRID', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Ref_Area_mRID', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 449, 0), )
mRID = property(__mRID.value, __mRID.set, None, 'master resource identifier')
_ElementMap.update({
__mRID.name() : __mRID
})
_AttributeMap.update({
})
_module_typeBindings.Ref_Area = Ref_Area
Namespace.addCategoryObject('typeBinding', 'Ref_Area', Ref_Area)
# Complex type {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}BusinessCaseLibrary with content type ELEMENT_ONLY
class BusinessCaseLibrary (pyxb.binding.basis.complexTypeDefinition):
"""business cases of the repository"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'BusinessCaseLibrary')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 456, 0)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element BusinessCase uses Python identifier BusinessCase
__BusinessCase = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'BusinessCase'), 'BusinessCase', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_BusinessCaseLibrary_BusinessCase', True, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 461, 0), )
BusinessCase = property(__BusinessCase.value, __BusinessCase.set, None, 'the list of business cases')
# Element name uses Python identifier name
__name = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'name'), 'name', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_BusinessCaseLibrary_name', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 466, 0), )
name = property(__name.value, __name.set, None, 'a short name')
_ElementMap.update({
__BusinessCase.name() : __BusinessCase,
__name.name() : __name
})
_AttributeMap.update({
})
_module_typeBindings.BusinessCaseLibrary = BusinessCaseLibrary
Namespace.addCategoryObject('typeBinding', 'BusinessCaseLibrary', BusinessCaseLibrary)
# Complex type {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}BusinessObject with content type ELEMENT_ONLY
class BusinessObject (pyxb.binding.basis.complexTypeDefinition):
"""business object exchanged in detailed activity steps"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'BusinessObject')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 473, 0)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element description uses Python identifier description
__description = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'description'), 'description', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_BusinessObject_description', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 478, 0), )
description = property(__description.value, __description.set, None, 'description of the object')
# Element identifier uses Python identifier identifier
__identifier = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'identifier'), 'identifier', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_BusinessObject_identifier', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 483, 0), )
identifier = property(__identifier.value, __identifier.set, None, 'identification used in references in the use case\ndescription')
# Element mRID uses Python identifier mRID
__mRID = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'mRID'), 'mRID', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_BusinessObject_mRID', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 489, 0), )
mRID = property(__mRID.value, __mRID.set, None, 'master resource identifier')
# Element name uses Python identifier name
__name = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'name'), 'name', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_BusinessObject_name', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 494, 0), )
name = property(__name.value, __name.set, None, 'a short name')
# Element Requirement uses Python identifier Requirement
__Requirement = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'Requirement'), 'Requirement', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_BusinessObject_Requirement', True, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 498, 0), )
Requirement = property(__Requirement.value, __Requirement.set, None, 'It can be used to define requirements related to the information\nand not to the step as in the step by step analysis.')
_ElementMap.update({
__description.name() : __description,
__identifier.name() : __identifier,
__mRID.name() : __mRID,
__name.name() : __name,
__Requirement.name() : __Requirement
})
_AttributeMap.update({
})
_module_typeBindings.BusinessObject = BusinessObject
Namespace.addCategoryObject('typeBinding', 'BusinessObject', BusinessObject)
# Complex type {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}BusinessObjectLibrary with content type ELEMENT_ONLY
class BusinessObjectLibrary (pyxb.binding.basis.complexTypeDefinition):
"""business objects which are exchanged in use cases"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'BusinessObjectLibrary')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 506, 0)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element BusinessObject uses Python identifier BusinessObject
__BusinessObject = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'BusinessObject'), 'BusinessObject', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_BusinessObjectLibrary_BusinessObject', True, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 511, 0), )
BusinessObject = property(__BusinessObject.value, __BusinessObject.set, None, 'list of business objects within the library')
# Element name uses Python identifier name
__name = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'name'), 'name', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_BusinessObjectLibrary_name', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 516, 0), )
name = property(__name.value, __name.set, None, 'a short name')
_ElementMap.update({
__BusinessObject.name() : __BusinessObject,
__name.name() : __name
})
_AttributeMap.update({
})
_module_typeBindings.BusinessObjectLibrary = BusinessObjectLibrary
Namespace.addCategoryObject('typeBinding', 'BusinessObjectLibrary', BusinessObjectLibrary)
# Complex type {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}CommonTerm with content type ELEMENT_ONLY
class CommonTerm (pyxb.binding.basis.complexTypeDefinition):
"""It represents a glossary term and its definition."""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'CommonTerm')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 523, 0)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element description uses Python identifier description
__description = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'description'), 'description', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_CommonTerm_description', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 528, 0), )
description = property(__description.value, __description.set, None, 'description of the object')
# Element mRID uses Python identifier mRID
__mRID = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'mRID'), 'mRID', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_CommonTerm_mRID', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 533, 0), )
mRID = property(__mRID.value, __mRID.set, None, 'master resource identifier')
# Element name uses Python identifier name
__name = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'name'), 'name', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_CommonTerm_name', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 538, 0), )
name = property(__name.value, __name.set, None, 'a short name')
_ElementMap.update({
__description.name() : __description,
__mRID.name() : __mRID,
__name.name() : __name
})
_AttributeMap.update({
})
_module_typeBindings.CommonTerm = CommonTerm
Namespace.addCategoryObject('typeBinding', 'CommonTerm', CommonTerm)
# Complex type {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}CommonTermLibrary with content type ELEMENT_ONLY
class CommonTermLibrary (pyxb.binding.basis.complexTypeDefinition):
"""common glossary defining terms for all use cases"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'CommonTermLibrary')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 545, 0)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element CommonTerm uses Python identifier CommonTerm
__CommonTerm = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'CommonTerm'), 'CommonTerm', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_CommonTermLibrary_CommonTerm', True, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 550, 0), )
CommonTerm = property(__CommonTerm.value, __CommonTerm.set, None, 'list of common terms')
# Element name uses Python identifier name
__name = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'name'), 'name', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_CommonTermLibrary_name', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 555, 0), )
name = property(__name.value, __name.set, None, 'a short name')
_ElementMap.update({
__CommonTerm.name() : __CommonTerm,
__name.name() : __name
})
_AttributeMap.update({
})
_module_typeBindings.CommonTermLibrary = CommonTermLibrary
Namespace.addCategoryObject('typeBinding', 'CommonTermLibrary', CommonTermLibrary)
# Complex type {http://www.SYC.org/IEC62559/part3/UC/V01/Build08082016}Condition with content type ELEMENT_ONLY
class Condition (pyxb.binding.basis.complexTypeDefinition):
"""It describes either a precondition or a postcondition."""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Condition')
_XSDLocation = pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 562, 0)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element description uses Python identifier description
__description = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'description'), 'description', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Condition_description', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 567, 0), )
description = property(__description.value, __description.set, None, 'description of the object')
# Element mRID uses Python identifier mRID
__mRID = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'mRID'), 'mRID', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Condition_mRID', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 571, 0), )
mRID = property(__mRID.value, __mRID.set, None, 'master resource identifier')
# Element name uses Python identifier name
__name = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'name'), 'name', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Condition_name', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 576, 0), )
name = property(__name.value, __name.set, None, 'a short name')
# Element number uses Python identifier number
__number = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'number'), 'number', '__httpwww_SYC_orgIEC62559part3UCV01Build08082016_Condition_number', False, pyxb.utils.utility.Location('/mnt/c/Users/vlacort/Documents/ETRA/Proyectos/BRIDGE/IEC62559-3.xsd', 581, 0), )
number = property(__number.value, __number.set, None, 'index of the condition')
_ElementMap.update({
__description.name() : __description,
__mRID.name() : __mRID,
__name.name() : __name,