Legacy Issue Number: 14449
Source: gmail.com ( Guus Ramackers)
The UML specification text for PrimitiveType states that it has no operationsnor attributes:
"A primitive type defines a predefined data type, without any relevant substructure (i.e., it has no parts in the context of
UML). A primitive datatype may have an algebra and operations defined outside of UML, for example, mathematically."
However, because PrimitiveType is a subtype of DataType in the spec, it inherits the ability have attributes and operations.
Constraints need to be added to restrict this, or else PrimitiveType should not specialize DataType.
The current situation is confusing to tool vendors. Potentially any imported XMI might have a PrimitiveType with attributes and operations defined according to the specification.
Reported: UML 2.2 — Mon, 5 Oct 2009 04:00 GMT
Updated: Fri, 6 Mar 2015 20:57 GMT