|Re: allInstances [message #9638 is a reply to message #9562]
||Tue, 06 March 2007 14:25
Originally posted by: cdamus.ca.ibm.com|
I'm not sure; this looks like an inconsistency in the specification.
allInstances() is defined on the OclAny type, and the specification
doesn't indicate that it would be static. All of the examples, though,
illustrate what looks like static invocation but doesn't use the '::'. It
looks more like an operation defined by the TypeType metaclass.
Rafael Chaves wrote:
> Since the allInstances operation applies to the classifier itself and
> not to objects of the class, it should be static, shouldn't it?
Powered by FUDForum
. Page generated in 0.01397 seconds