Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 18:51
Linda Damus is currently offline Linda DamusFriend
Messages: 85
Registered: July 2009
Member
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: Sat Apr 20 03:22:23 GMT 2024

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

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

Back to the top