-
Key: SYSMOAS-13
-
Status: open
-
Source: Dassault Systemes ( Mr. Tomas Vileiniskis)
-
Summary:
OSLC API Resource Shapes and Vocabulary (both for KerML and SysML2) get automatically generated from respective Ecore metamodels, which leads to OCL expressions ending up as part of documentation in <rdfs:comment> properties. This makes the generated vocabularies and shapes super ugly and hard to read, e.g.:
<rdf:Description rdf:about="https://www.omg.org/spec/SysML/20230201/vocab#Expression"> <rdfs:comment><p>An Expression is a Step that is typed by a Function. An Expression that also has a Function as its <code>featuringType</code> is a computational step within that Function. An Expression always has a single <code>result</code> parameter, which redefines the <code>result</code> parameter of its defining <code>function</code>. This allows Expressions to be interconnected in tree structures, in which inputs to each Expression in the tree are determined as the results of other Expressions in the tree.</p> isModelLevelEvaluable = modelLevelEvaluable(Set(Element){}) specializesFromLibrary("Performances::evaluations") owningMembership <> null and owningMembership.oclIsKindOf(FeatureValue) implies let featureWithValue : Feature = owningMembership.oclAsType(FeatureValue).featureWithValue in featuringType = featureWithValue.featuringType ownedMembership.selectByKind(ResultExpressionMembership)-> forAll(mem | ownedFeature.selectByKind(BindingConnector)-> exists(binding | binding.relatedFeature->includes(result) and binding.relatedFeature->includes(mem.ownedResultExpression.result)))</rdfs:comment>
Prior OSLC artifact generation we need to figure out how to distinguish between normative documentation of metamodel objects (eClassifiers and eOperations) vs their OCL expressions in the original Ecore files.
-
Reported: SystemsModelingAPI 1.0a1 — Fri, 14 Jul 2023 10:11 GMT
-
Updated: Tue, 9 Apr 2024 23:04 GMT
SYSMOAS — Cleanup OSLC API Resource Shapes and Vocabulary artifacts from OCL code
- Key: SYSMOAS-13
- OMG Task Force: Systems Modeling API and Services (SystemsModelingAPI) 1.0 FTF