Skip to content

Commit

Permalink
Corrected incorrect comment
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasfruehwirth committed Dec 2, 2020
1 parent 0c9ff40 commit 1ccf727
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions QvtoTransformationRules/transforms/ClassDiagram/Classes.qvto
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ mapping UML::Class::class2OPCUAObjectType(inout nodeset : OPCUA::UANodeSetType)

// transform primitive properties of the class
nodeset.uAVariable += self.ownedElement->selectByType(UML::Property)->select(x|x.association = null and x.type.oclIsKindOf(UML::PrimitiveType))->map property2UAVariable(result)->asOrderedSet(); // variables do not have an association field

// transform non-primitive properties of the class
nodeset.uAObject += self.ownedElement->selectByType(UML::Property)->select(x|x.association = null and not x.type.oclIsKindOf(UML::PrimitiveType))->map property2UAObject(result)->asOrderedSet(); // variables do not have an association field

// transform associations of the class
Expand Down

0 comments on commit 1ccf727

Please sign in to comment.