Skip to main content



      Home
Home » Modeling » UML2 » Should the OCL allInstances() feature apply to stereotypes?
Should the OCL allInstances() feature apply to stereotypes? [message #626800] Wed, 16 July 2008 14:51
Eclipse UserFriend
Hi,

Should the OCL allInstances() feature apply to stereotypes?

In other words, if I've created a stereotype 'S' extending Class in
profile 'P', should I be able to write an OCL constraint that uses the
expression:

P::S.allInstances()

and expect it to find all of the Classes in my model to which 'S' has
been applied?

Although the UML v2.1.2 specification talks about instances of an
instance "S" of Stereotype (section 18.3.8, semantics), it's not clear
to me whether or not a Class stereotyped as 'S' should or should not be
considered an instance of 'S'.

Thanks,
Linda
Previous Topic:Code generator problem with redefinitions
Next Topic:Should the OCL allInstances() feature apply to stereotypes?
Goto Forum:
  


Current Time: Tue Jul 01 03:02:02 EDT 2025

Powered by FUDForum. Page generated in 0.05688 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top