Hi,

suppose I have a block Generic1, that has two flowPorts.  If I now create a 
Block Concrete1 that generalizes Generic1, would that imply that Concrete1 also 
has the same two flowPorts?

I would have expected this, but at least, in topcased, it is not the case, but 
I have to admit I can't find a clear statement about it in the spec either.
Unfortunately, this now means, that, fi. if I want to create 3 "Concrete" 
blocks (what's in a name :-) that I have to add the ports each time again (and 
that I would have to create an OCL rule that checks if the ports of a parent 
are the same/(a more specific) type/name as those from their children?

Thoughts?

TIA,

Klaas

ps.  The same goes for properties/operations/...


_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to