Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: El Bini on May 15, 2012, 05:58:37 am

Title: Classes cannot be moved "under" an inter
Post 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").
Title: Re: Classes cannot be moved "under" an inter
Post by: qwerty on May 15, 2012, 07:23:16 am
What are you doing? There's no problem nesting a class into an interface.

q.
Title: Re: DataTypes cannot be moved "under" an inter
Post by: El Bini on May 15, 2012, 03:17:28 pm
Sorry, my mistake!
It does work with classes but not with data types.
Title: Re: Classes cannot be moved "under" an inter
Post by: qwerty on May 15, 2012, 11:02:20 pm
So what is a Data Type then?

q.
Title: Re: Classes cannot be moved "under" an inter
Post by: Geert Bellekens on May 16, 2012, 03:19:50 pm
From the UML (2.4.1) specs:

Quote
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