Summary
BA property references are not checked against the AS5506/3 Rev. A D.7 restriction that referenced properties be unitless or have a time unit.
The current implementation resolves and translates property references without an identified BA-specific unit-category check.
Reproduction
This issue comes from the source audit in ba/doc/conformance.md; no additional runtime reproduction was performed.
Expected behavior
Accept unitless and time-valued property references and report references to properties with other unit types at the property reference. Preserve the selected value and unit in the strict model.
Relevant code
ba/org.osate.xtext.aadl2.ba/src/org/osate/xtext/aadl2/ba/translation/DeclarativeToStrictTranslator.java — toPropertyReference.
ba/org.osate.ba/src/org/osate/ba/analyzers/AadlBaTypeChecker.java — property value type checking.
ba/org.osate.xtext.aadl2.ba/src/org/osate/xtext/aadl2/ba/BehaviorAnnex.xtext — property-reference forms.
Summary
BA property references are not checked against the AS5506/3 Rev. A D.7 restriction that referenced properties be unitless or have a time unit.
The current implementation resolves and translates property references without an identified BA-specific unit-category check.
Reproduction
This issue comes from the source audit in
ba/doc/conformance.md; no additional runtime reproduction was performed.Expected behavior
Accept unitless and time-valued property references and report references to properties with other unit types at the property reference. Preserve the selected value and unit in the strict model.
Relevant code
ba/org.osate.xtext.aadl2.ba/src/org/osate/xtext/aadl2/ba/translation/DeclarativeToStrictTranslator.java—toPropertyReference.ba/org.osate.ba/src/org/osate/ba/analyzers/AadlBaTypeChecker.java— property value type checking.ba/org.osate.xtext.aadl2.ba/src/org/osate/xtext/aadl2/ba/BehaviorAnnex.xtext— property-reference forms.