Issue 7850: UML2 super/CommonBehavior/Opaque behavior : bad OO modelling (uml2-superstructure-ftf) Source: Softeam (Mr. Philippe Desfray, phd(at)softeam.fr) Nature: Uncategorized Issue Severity: Summary: When we see the attributes of OpaqueBehavior : • body : String [1..*] Specifies the behavior in one or more languages. • language : String [*] Languages the body strings use in the same order as the body strings. We can state that this is bad modelling practice : two attributes are sets, which elements have to be related 2 by 2 according to an ordering rule. This is even bad database modeling practice (violation of the 1st normal form rule). Proposition : Create an additional class "Language expression", having 2 attributes : Language and Body, and relate it to "OpaqueBehavior" instead of these two guilty attributes. Resolution: Revised Text: Actions taken: October 13, 2004: received issue Discussion: End of Annotations:===== eply-To: From: "Desfray" To: Subject: UML2 super/CommonBehavior/Opaque behavior : bad OO modelling Date: Wed, 13 Oct 2004 14:35:02 +0200 X-Mailer: Microsoft Outlook CWS, Build 9.0.6604 (9.0.2911.0) X-Virus-Scanned: by amavisd-new at softeam.com When we see the attributes of OpaqueBehavior : . body : String [1..*] Specifies the behavior in one or more languages. . language : String [*] Languages the body strings use in the same order as the body strings. We can state that this is bad modelling practice : two attributes are sets, which elements have to be related 2 by 2 according to an ordering rule. This is even bad database modeling practice (violation of the 1st normal form rule). Proposition : Create an additional class "Language expression", having 2 attributes : Language and Body, and relate it to "OpaqueBehavior" instead of these two guilty attributes. ==================================== Philippe Desfray VP for R&D - SOFTEAM Tel: (33) 01 53968400 Fax: (33) 01 53968401 144 Av. des champs Elysées 75008 PARIS www.softeam.com www.objecteering.com