UML 2.6 RTF Avatar
  1. OMG Issue

UMLR — A PrimitiveType can/cannot have owned attributes.

  • Key: UMLR-302
  • Legacy Issue Number: 19190
  • Status: open  
  • Source: Change Vision ( Michael Chonoles)
  • Summary:

    A datatype can have ownedAttributes. A primitivetype is a subclass of Datatype, so it can have owned attributes. However a primitive type cannot have any substructure. Unfortunately “substructure” is not defined.

    This is repeated by the by the classifier definition for PrimitiveType[Class] however there is no OCL that enforces any restriction.

    Either eliminate the restriction or define substructure and write some OCL.

  • Reported: UML 2.5 — Fri, 17 Jan 2014 05:00 GMT
  • Updated: Fri, 6 Mar 2015 20:57 GMT