Sparx Systems Forum
Enterprise Architect => Bugs and Issues => Topic started by: El Bini on May 15, 2012, 05:58:37 am
-
Version 9.2; build 921:
Classes cannot be moved "under" an interface. Generally speaking Interface doesn't support nested classifier.
According to the UML meta-model (formal/2011-08-06, verion 2.4.1) this is allowed (see meta-class "Interface (from Interfaces)", association "nestedClassifier").
-
What are you doing? There's no problem nesting a class into an interface.
q.
-
Sorry, my mistake!
It does work with classes but not with data types.
-
So what is a Data Type then?
q.
-
From the UML (2.4.1) specs:
7.3.11 DataType (from Kernel)
A data type is a type whose instances are identified only by their value. A DataType may contain attributes to support the
modeling of structured data types.
A typical use of data types would be to represent programming language primitive types or CORBA basic types. For
example, integer and string types are often treated as data types.
And indeed EA tells me "The requested move is not supported" when I try to move a datatype under another element. I would ask Sparx support about this, because it looks like a bug to me.
Geert