[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.modeling.mdt.uml2.ocl] Re: How to validate uniqueness of class names within an entire package subtree
|
Hi, Kenn,
Will that work also for classifiers nested within classifiers? These have
direct owning namespaces, but not packages, and I think that the way the
OCL for allOwningPackages is defined means that it will return an empty
sequence.
That is to say, that I think the intent of the OCL specification for this
operation is that it will result in an empty sequence. The actually OCL is
syntactically invalid.
Cheers,
Christian
Kenn Hussey wrote:
> Note also that there is a "allOwningPackages()" operation defined on
> NamedElement which may be more pertinent in cases where you're concerned
> only with packages.
>
> Kenn
>
<snip>