armodel 1.7.8__py3-none-any.whl → 1.7.9__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. armodel/models/M2/AUTOSARTemplates/AutosarTopLevelStructure.py +21 -0
  2. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswBehavior.py +102 -12
  3. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswInterfaces.py +80 -9
  4. armodel/models/M2/AUTOSARTemplates/BswModuleTemplate/BswOverview.py +17 -10
  5. armodel/models/M2/AUTOSARTemplates/CommonStructure/Implementation.py +10 -8
  6. armodel/models/M2/AUTOSARTemplates/CommonStructure/InternalBehavior.py +7 -5
  7. armodel/models/M2/AUTOSARTemplates/CommonStructure/ModeDeclaration.py +38 -3
  8. armodel/models/M2/AUTOSARTemplates/CommonStructure/ServiceNeeds.py +91 -18
  9. armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/BlueprintDedicated/PortPrototypeBlueprint.py +73 -0
  10. armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/BlueprintDedicated/__init__.py +0 -0
  11. armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/Keyword.py +45 -0
  12. armodel/models/M2/AUTOSARTemplates/CommonStructure/StandardizationTemplate/__init__.py +0 -0
  13. armodel/models/M2/AUTOSARTemplates/CommonStructure/TriggerDeclaration.py +27 -0
  14. armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/ARPackage.py +33 -4
  15. armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/ElementCollection.py +73 -0
  16. armodel/models/M2/AUTOSARTemplates/GenericStructure/GeneralTemplateClasses/PrimitiveTypes.py +35 -14
  17. armodel/models/M2/AUTOSARTemplates/GenericStructure/LifeCycles.py +151 -1
  18. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/Components/__init__.py +4 -1
  19. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/PortInterface/__init__.py +55 -12
  20. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SoftwareComponentDocumentation.py +80 -0
  21. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/RTEEvents.py +11 -1
  22. armodel/models/M2/AUTOSARTemplates/SWComponentTemplate/SwcInternalBehavior/ServiceMapping.py +16 -2
  23. armodel/models/M2/AUTOSARTemplates/SystemTemplate/Fibex/Fibex4Ethernet/EthernetTopology.py +18 -6
  24. armodel/models/M2/MSR/DataDictionary/DataDefProperties.py +10 -1
  25. armodel/models/M2/MSR/Documentation/BlockElements/Figure.py +163 -0
  26. armodel/models/M2/MSR/Documentation/BlockElements/__init__.py +0 -0
  27. armodel/models/M2/MSR/Documentation/TextModel/BlockElements/ListElements.py +5 -3
  28. armodel/models/M2/MSR/Documentation/TextModel/BlockElements/PaginationAndView.py +22 -1
  29. armodel/models/M2/MSR/Documentation/TextModel/BlockElements/__init__.py +94 -9
  30. armodel/models/__init__.py +2 -0
  31. armodel/parser/abstract_arxml_parser.py +5 -2
  32. armodel/parser/arxml_parser.py +255 -38
  33. armodel/tests/test_armodel/parser/test_sw_components.py +266 -4
  34. armodel/writer/arxml_writer.py +310 -57
  35. {armodel-1.7.8.dist-info → armodel-1.7.9.dist-info}/METADATA +21 -1
  36. {armodel-1.7.8.dist-info → armodel-1.7.9.dist-info}/RECORD +40 -33
  37. {armodel-1.7.8.dist-info → armodel-1.7.9.dist-info}/LICENSE +0 -0
  38. {armodel-1.7.8.dist-info → armodel-1.7.9.dist-info}/WHEEL +0 -0
  39. {armodel-1.7.8.dist-info → armodel-1.7.9.dist-info}/entry_points.txt +0 -0
  40. {armodel-1.7.8.dist-info → armodel-1.7.9.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,12 @@
1
1
  from typing import List
2
- from .....M2.AUTOSARTemplates.CommonStructure.ServiceNeeds import CryptoServiceNeeds, DiagnosticCommunicationManagerNeeds, DiagnosticEventInfoNeeds, DiagnosticEventNeeds, DiagnosticRoutineNeeds, DiagnosticValueNeeds, EcuStateMgrUserNeeds, NvBlockNeeds, RoleBasedDataAssignment, ServiceNeeds
2
+ from .....M2.AUTOSARTemplates.CommonStructure.ServiceNeeds import CryptoServiceNeeds, DiagnosticCommunicationManagerNeeds, DiagnosticEventInfoNeeds
3
+ from .....M2.AUTOSARTemplates.CommonStructure.ServiceNeeds import DiagnosticEventNeeds, DiagnosticRoutineNeeds, DiagnosticValueNeeds
4
+ from .....M2.AUTOSARTemplates.CommonStructure.ServiceNeeds import DtcStatusChangeNotificationNeeds, EcuStateMgrUserNeeds, NvBlockNeeds
5
+ from .....M2.AUTOSARTemplates.CommonStructure.ServiceNeeds import RoleBasedDataAssignment, ServiceNeeds, ServiceDependency
3
6
  from .....M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.ArObject import ARObject
4
7
  from .....M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.PrimitiveTypes import Identifier, RefType
5
- from .....M2.AUTOSARTemplates.CommonStructure.ServiceNeeds import ServiceDependency
8
+
9
+
6
10
  class RoleBasedPortAssignment(ARObject):
7
11
  def __init__(self):
8
12
  super().__init__()
@@ -24,6 +28,7 @@ class RoleBasedPortAssignment(ARObject):
24
28
  self.role = value
25
29
  return self
26
30
 
31
+
27
32
  class SwcServiceDependency(ServiceDependency):
28
33
  def __init__(self, parent: ARObject, short_name: str):
29
34
  super().__init__(parent, short_name)
@@ -91,6 +96,12 @@ class SwcServiceDependency(ServiceDependency):
91
96
  self.addElement(needs)
92
97
  return self.getElement(short_name)
93
98
 
99
+ def createDtcStatusChangeNotificationNeeds(self, short_name: str) -> DtcStatusChangeNotificationNeeds:
100
+ if (short_name not in self.elements):
101
+ needs = DtcStatusChangeNotificationNeeds(self, short_name)
102
+ self.addElement(needs)
103
+ return self.getElement(short_name)
104
+
94
105
  def getNvBlockNeeds(self) -> List[NvBlockNeeds]:
95
106
  return sorted(filter(lambda c: isinstance(c, NvBlockNeeds), self.elements.values()), key=lambda e: e.short_name)
96
107
 
@@ -108,6 +119,9 @@ class SwcServiceDependency(ServiceDependency):
108
119
 
109
120
  def getEcuStateMgrUserNeeds(self) -> List[EcuStateMgrUserNeeds]:
110
121
  return sorted(filter(lambda c: isinstance(c, EcuStateMgrUserNeeds), self.elements.values()), key=lambda e: e.short_name)
122
+
123
+ def getDtcStatusChangeNotificationNeeds(self) -> List[DtcStatusChangeNotificationNeeds]:
124
+ return sorted(filter(lambda c: isinstance(c, DtcStatusChangeNotificationNeeds), self.elements.values()), key=lambda e: e.short_name)
111
125
 
112
126
  def getServiceNeeds(self) -> List[ServiceNeeds]:
113
127
  return sorted(filter(lambda c: isinstance(c, ServiceNeeds), self.elements.values()), key=lambda e: e.short_name)
@@ -2,9 +2,12 @@ from abc import ABCMeta
2
2
  from typing import List
3
3
 
4
4
  from ......M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.Identifiable import Identifiable, Referrable
5
- from ......M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.PrimitiveTypes import Boolean, Integer, MacAddressString, PositiveInteger, RefType, TimeValue
5
+ from ......M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.PrimitiveTypes import Boolean, Integer, MacAddressString, PositiveInteger
6
+ from ......M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.PrimitiveTypes import RefType, TimeValue
6
7
  from ......M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.ArObject import ARObject
7
- from ......M2.AUTOSARTemplates.SystemTemplate.Fibex.FibexCore.CoreTopology import CommunicationCluster, CommunicationConnector, CommunicationController
8
+ from ......M2.AUTOSARTemplates.SystemTemplate.Fibex.FibexCore.CoreTopology import CommunicationCluster, CommunicationConnector
9
+ from ......M2.AUTOSARTemplates.SystemTemplate.Fibex.FibexCore.CoreTopology import CommunicationController
10
+
8
11
 
9
12
  class MacMulticastGroup(Identifiable):
10
13
  def __init__(self, parent, short_name):
@@ -19,6 +22,8 @@ class MacMulticastGroup(Identifiable):
19
22
  if value is not None:
20
23
  self.macMulticastAddress = value
21
24
  return self
25
+
26
+
22
27
  class EthernetCluster(CommunicationCluster):
23
28
  def __init__(self, parent: ARObject, short_name: str):
24
29
  super().__init__(parent, short_name)
@@ -62,13 +67,15 @@ class EthernetCluster(CommunicationCluster):
62
67
  self.macMulticastGroups.append(group)
63
68
  return self.getElement(short_name)
64
69
 
65
- class CouplingPortStructuralElement(Identifiable, metaclass = ABCMeta):
70
+
71
+ class CouplingPortStructuralElement(Identifiable, metaclass=ABCMeta):
66
72
  def __init__(self, parent: ARObject, short_name: str):
67
- if type(self) == CouplingPortStructuralElement:
73
+ if type(self) is CouplingPortStructuralElement:
68
74
  raise NotImplementedError("CouplingPortStructuralElement is an abstract class.")
69
75
 
70
76
  super().__init__(parent, short_name)
71
77
 
78
+
72
79
  class CouplingPortFifo(CouplingPortStructuralElement):
73
80
  def __init__(self, parent: ARObject, short_name: str):
74
81
  super().__init__(parent, short_name)
@@ -109,7 +116,8 @@ class CouplingPortFifo(CouplingPortStructuralElement):
109
116
  if value is not None:
110
117
  self.trafficClassPreemptionSupport = value
111
118
  return self
112
-
119
+
120
+
113
121
  class CouplingPortScheduler(CouplingPortStructuralElement):
114
122
  def __init__(self, parent, short_name):
115
123
  super().__init__(parent, short_name)
@@ -133,6 +141,7 @@ class CouplingPortScheduler(CouplingPortStructuralElement):
133
141
  self.predecessorRefs.append(value)
134
142
  return self
135
143
 
144
+
136
145
  class EthernetPriorityRegeneration(Referrable):
137
146
  def __init__(self, parent, short_name):
138
147
  super().__init__(parent, short_name)
@@ -253,6 +262,7 @@ class CouplingPortDetails(ARObject):
253
262
  self.vlanTranslationTables = value
254
263
  return self
255
264
 
265
+
256
266
  class VlanMembership(ARObject):
257
267
  def __init__(self):
258
268
  super().__init__()
@@ -427,7 +437,6 @@ class CouplingPort(Identifiable):
427
437
  return self
428
438
 
429
439
 
430
-
431
440
  class EthernetCommunicationController(CommunicationController):
432
441
  def __init__(self, parent: ARObject, short_name: str):
433
442
  super().__init__(parent, short_name)
@@ -500,6 +509,7 @@ class EthernetCommunicationController(CommunicationController):
500
509
  self.slaveQualifiedUnexpectedLinkDownTime = value
501
510
  return self
502
511
 
512
+
503
513
  class EthernetCommunicationConnector(CommunicationConnector):
504
514
  def __init__(self, parent: ARObject, short_name: str):
505
515
  super().__init__(parent, short_name)
@@ -554,6 +564,7 @@ class EthernetCommunicationConnector(CommunicationConnector):
554
564
  self.pathMtuTimeout = value
555
565
  return self
556
566
 
567
+
557
568
  class RequestResponseDelay(ARObject):
558
569
  def __init__(self):
559
570
  super().__init__()
@@ -577,6 +588,7 @@ class RequestResponseDelay(ARObject):
577
588
  self.minValue = value
578
589
  return self
579
590
 
591
+
580
592
  class InitialSdDelayConfig(ARObject):
581
593
  def __init__(self):
582
594
  super().__init__()
@@ -2,9 +2,10 @@ from typing import List
2
2
  from ....M2.MSR.Documentation.Annotation import Annotation
3
3
  from ....M2.MSR.DataDictionary.CalibrationParameter import SwCalprmAxisSet
4
4
  from ....M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.ArObject import ARObject
5
- from ....M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.PrimitiveTypes import ARFloat, RefType, ARLiteral
5
+ from ....M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.PrimitiveTypes import AREnum, ARFloat, RefType, ARLiteral
6
6
  from ....M2.AUTOSARTemplates.CommonStructure import ValueSpecification
7
7
 
8
+
8
9
  class SwDataDefPropsConditional(ARObject):
9
10
  '''
10
11
  Patch for the time-stamp
@@ -12,6 +13,14 @@ class SwDataDefPropsConditional(ARObject):
12
13
  def __init__(self):
13
14
  super().__init__()
14
15
 
16
+
17
+ class SwImplPolicyEnum(AREnum):
18
+ def __init__(self, enum_values):
19
+ super().__init__([
20
+
21
+ ])
22
+
23
+
15
24
  class SwDataDefProps(ARObject):
16
25
  def __init__(self):
17
26
  super().__init__()
@@ -0,0 +1,163 @@
1
+ from typing import List
2
+
3
+ from .....M2.MSR.Documentation.TextModel.LanguageDataModel import LanguageSpecific
4
+ from .....M2.MSR.Documentation.TextModel.BlockElements.PaginationAndView import Paginateable
5
+ from .....M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.ArObject import ARObject
6
+ from .....M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.EngineeringObject import EngineeringObject
7
+ from .....M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.PrimitiveTypes import AREnum, String
8
+
9
+
10
+ class GraphicFitEnum(AREnum):
11
+ def __init__(self, enum_values):
12
+ super().__init__([
13
+
14
+ ])
15
+
16
+
17
+ class Graphic(EngineeringObject):
18
+ def __init__(self):
19
+ super().__init__()
20
+
21
+ self.editfit = None # type: GraphicFitEnum
22
+ self.editHeight = None # type: String
23
+ self.editscale = None # type: String
24
+ self.editWidth = None # type: String
25
+ self.filename = None # type: String
26
+ self.fit = None # type: GraphicFitEnum
27
+
28
+ def getEditfit(self):
29
+ return self.editfit
30
+
31
+ def setEditfit(self, value):
32
+ if value is not None:
33
+ self.editfit = value
34
+ return self
35
+
36
+ def getEditHeight(self):
37
+ return self.editHeight
38
+
39
+ def setEditHeight(self, value):
40
+ if value is not None:
41
+ self.editHeight = value
42
+ return self
43
+
44
+ def getEditscale(self):
45
+ return self.editscale
46
+
47
+ def setEditscale(self, value):
48
+ if value is not None:
49
+ self.editscale = value
50
+ return self
51
+
52
+ def getEditWidth(self):
53
+ return self.editWidth
54
+
55
+ def setEditWidth(self, value):
56
+ if value is not None:
57
+ self.editWidth = value
58
+ return self
59
+
60
+ def getFilename(self):
61
+ return self.filename
62
+
63
+ def setFilename(self, value):
64
+ if value is not None:
65
+ self.filename = value
66
+ return self
67
+
68
+ def getFit(self):
69
+ return self.fit
70
+
71
+ def setFit(self, value):
72
+ if value is not None:
73
+ self.fit = value
74
+ return self
75
+
76
+
77
+ class Map(ARObject):
78
+ def __init__(self):
79
+ super().__init__()
80
+
81
+
82
+ class LGraphic(LanguageSpecific):
83
+ def __init__(self):
84
+ super().__init__()
85
+
86
+ self.l = None # type: str # noqa E741
87
+ self.graphic = None # type: Graphic
88
+ self.map = None # type: Map
89
+
90
+ def getL(self):
91
+ return self.l
92
+
93
+ def setL(self, value):
94
+ if value is not None:
95
+ self.l = value # noqa E741
96
+ return self
97
+
98
+ def getGraphic(self):
99
+ return self.graphic
100
+
101
+ def setGraphic(self, value):
102
+ if value is not None:
103
+ self.graphic = value
104
+ return self
105
+
106
+ def getMap(self):
107
+ return self.map
108
+
109
+ def setMap(self, value):
110
+ if value is not None:
111
+ self.map = value
112
+ return self
113
+
114
+
115
+ class MlFigure(Paginateable):
116
+ def __init__(self):
117
+ super().__init__()
118
+
119
+ self.figureCaption = None # type: Caption
120
+ self.helpEntry = None # type: String
121
+ self.lGraphics = [] # type: List[LGraphic]
122
+ self.pgwide = None # type: PgwideEnum
123
+ self.verbatim = None # type: MultiLanguageVerbatim
124
+
125
+ def getFigureCaption(self):
126
+ return self.figureCaption
127
+
128
+ def setFigureCaption(self, value):
129
+ if value is not None:
130
+ self.figureCaption = value
131
+ return self
132
+
133
+ def getHelpEntry(self):
134
+ return self.helpEntry
135
+
136
+ def setHelpEntry(self, value):
137
+ if value is not None:
138
+ self.helpEntry = value
139
+ return self
140
+
141
+ def getLGraphics(self):
142
+ return self.lGraphics
143
+
144
+ def addLGraphics(self, value):
145
+ if value is not None:
146
+ self.lGraphics.append(value)
147
+ return self
148
+
149
+ def getPgwide(self):
150
+ return self.pgwide
151
+
152
+ def setPgwide(self, value):
153
+ if value is not None:
154
+ self.pgwide = value
155
+ return self
156
+
157
+ def getVerbatim(self):
158
+ return self.verbatim
159
+
160
+ def setVerbatim(self, value):
161
+ if value is not None:
162
+ self.verbatim = value
163
+ return self
@@ -3,6 +3,7 @@ from typing import List
3
3
  from ......M2.MSR.Documentation.TextModel.BlockElements.PaginationAndView import Paginateable
4
4
  from ......M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.PrimitiveTypes import AREnum
5
5
 
6
+
6
7
  class ListEnum(AREnum):
7
8
 
8
9
  NUMBER = 'number'
@@ -14,6 +15,7 @@ class ListEnum(AREnum):
14
15
  ListEnum.UNNUMBER
15
16
  ))
16
17
 
18
+
17
19
  class Item(Paginateable):
18
20
  def __init__(self):
19
21
  super().__init__()
@@ -27,10 +29,11 @@ class Item(Paginateable):
27
29
  self.itemContents = value
28
30
  return self
29
31
 
30
- class ListElement(Paginateable):
32
+
33
+ class ARList(Paginateable):
31
34
  '''
32
35
  This meta-class represents the ability to express a list. The kind of list is specified in the attribute.
33
- In AUTOSAR standard class name shall be List, but it is conflict with Python List and renamed to ListElement
36
+ In AUTOSAR standard class name shall be List, but it is conflict with Python List and renamed to ARList
34
37
  '''
35
38
  def __init__(self):
36
39
  super().__init__()
@@ -51,4 +54,3 @@ class ListElement(Paginateable):
51
54
  def setType(self, value):
52
55
  self.type = value
53
56
  return self
54
-
@@ -1,9 +1,30 @@
1
1
  from ......M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.ArObject import ARObject
2
2
 
3
+
3
4
  class DocumentViewSelectable(ARObject):
4
5
  def __init__(self):
5
6
  super().__init__()
6
7
 
8
+
7
9
  class Paginateable(DocumentViewSelectable):
8
10
  def __init__(self):
9
- super().__init__()
11
+ super().__init__()
12
+
13
+ self.chapterBreak = None # type: ChapterEnumBreak
14
+ self.keepWithPrevious = None # type: KeepWithPreviousEnum
15
+
16
+ def getBreak(self):
17
+ return self.chapterBreak
18
+
19
+ def setBreak(self, value):
20
+ if value is not None:
21
+ self.chapterBreak = value
22
+ return self
23
+
24
+ def getKeepWithPrevious(self):
25
+ return self.keepWithPrevious
26
+
27
+ def setKeepWithPrevious(self, value):
28
+ if value is not None:
29
+ self.keepWithPrevious = value
30
+ return self
@@ -1,25 +1,110 @@
1
- from ......M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.ArObject import ARObject
2
- from ......M2.MSR.Documentation.TextModel.BlockElements.ListElements import ListElement
1
+ from ......M2.MSR.Documentation.BlockElements.Figure import MlFigure
2
+ from ......M2.MSR.Documentation.TextModel.BlockElements.ListElements import ARList
3
3
  from ......M2.MSR.Documentation.TextModel.MultilanguageData import MultiLanguageParagraph
4
+ from ......M2.AUTOSARTemplates.GenericStructure.GeneralTemplateClasses.ArObject import ARObject
4
5
  from typing import List
5
6
 
7
+
6
8
  class DocumentationBlock(ARObject):
7
9
  def __init__(self):
8
10
  super().__init__()
9
11
 
12
+ self.defList = None # type: DefList
13
+ self.figures = [] # type: List[MlFigure]
14
+ self.formula = None # type:MlFormula
15
+ self.labeledList = None # type: LabeledList
16
+ self.lists = [] # type: List[ARList]
17
+ self.msrQueryP2 = None # type: MsrQueryP2
18
+ self.note = None # type: Note
10
19
  self.ps = [] # type: List[MultiLanguageParagraph]
11
- self.lists = [] # type: List[ListElement]
20
+ self.structuredReq = None # type: StructuredReq
21
+ self.trace = None # type: TraceableText
22
+ self.verbatim = None # type: MultiLanguageVerbatim
12
23
 
13
- def addP(self, p: MultiLanguageParagraph):
14
- self.ps.append(p)
24
+ def getDefList(self):
25
+ return self.defList
26
+
27
+ def setDefList(self, value):
28
+ if value is not None:
29
+ self.defList = value
30
+ return self
31
+
32
+ def getFigures(self):
33
+ return self.figures
34
+
35
+ def addFigure(self, value):
36
+ if value is not None:
37
+ self.figures.append(value)
38
+ return self
39
+
40
+ def getFormula(self):
41
+ return self.formula
42
+
43
+ def setFormula(self, value):
44
+ if value is not None:
45
+ self.formula = value
46
+ return self
47
+
48
+ def getLabeledList(self):
49
+ return self.labeledList
50
+
51
+ def setLabeledList(self, value):
52
+ if value is not None:
53
+ self.labeledList = value
15
54
  return self
16
55
 
17
- def getPs(self) -> List[MultiLanguageParagraph]:
18
- return self.ps
19
-
20
56
  def getLists(self):
21
57
  return self.lists
22
58
 
23
59
  def addList(self, value):
24
- self.lists.append(value)
60
+ if value is not None:
61
+ self.lists.append(value)
62
+ return self
63
+
64
+ def getMsrQueryP2(self):
65
+ return self.msrQueryP2
66
+
67
+ def setMsrQueryP2(self, value):
68
+ if value is not None:
69
+ self.msrQueryP2 = value
70
+ return self
71
+
72
+ def getNote(self):
73
+ return self.note
74
+
75
+ def setNote(self, value):
76
+ if value is not None:
77
+ self.note = value
78
+ return self
79
+
80
+ def getPs(self) -> List[MultiLanguageParagraph]:
81
+ return self.ps
82
+
83
+ def addP(self, value):
84
+ if value is not None:
85
+ self.ps.append(value)
86
+ return self
87
+
88
+ def getStructuredReq(self):
89
+ return self.structuredReq
90
+
91
+ def setStructuredReq(self, value):
92
+ if value is not None:
93
+ self.structuredReq = value
94
+ return self
95
+
96
+ def getTrace(self):
97
+ return self.trace
98
+
99
+ def setTrace(self, value):
100
+ if value is not None:
101
+ self.trace = value
102
+ return self
103
+
104
+ def getVerbatim(self):
105
+ return self.verbatim
106
+
107
+ def setVerbatim(self, value):
108
+ if value is not None:
109
+ self.verbatim = value
25
110
  return self
@@ -36,6 +36,8 @@ from .M2.AUTOSARTemplates.CommonStructure.ResourceConsumption.StackUsage import
36
36
  from .M2.AUTOSARTemplates.CommonStructure.ResourceConsumption.MemorySectionUsage import *
37
37
  from .M2.AUTOSARTemplates.CommonStructure.ServiceNeeds import *
38
38
  from .M2.AUTOSARTemplates.CommonStructure.SwcBswMapping import *
39
+ from .M2.AUTOSARTemplates.CommonStructure.StandardizationTemplate.Keyword import *
40
+ from .M2.AUTOSARTemplates.CommonStructure.StandardizationTemplate.BlueprintDedicated.PortPrototypeBlueprint import *
39
41
  from .M2.AUTOSARTemplates.CommonStructure.TriggerDeclaration import *
40
42
  from .M2.AUTOSARTemplates.DiagnosticExtract.DiagnosticContribution import *
41
43
  from .M2.AUTOSARTemplates.SWComponentTemplate import *
@@ -258,8 +258,11 @@ class AbstractARXMLParser:
258
258
  results = []
259
259
  for child_element in child_elements:
260
260
  ref = RefType()
261
- ref.dest = child_element.attrib['DEST']
262
- ref.value = child_element.text
261
+ if 'BASE' in child_element.attrib:
262
+ ref.setBase(child_element.attrib['BASE'])
263
+ if 'DEST' in child_element.attrib:
264
+ ref.setDest(child_element.attrib['DEST'])
265
+ ref.setValue(child_element.text)
263
266
  results.append(ref)
264
267
  return results
265
268