|[QVT] result of allSubobjects on sets [message #727429]
||Wed, 21 September 2011 05:33
| Wilbert Alberts
Registered: June 2010
I'm having some troubles understanding the effect of invoking allSubobjects() on a set.
Assume that self.persons represents a set of Person.
Assume that a Person might have other references to Persons.
What is the difference between:
-1- self.persons.allSubobjects() and
when invoked in a QVT transformation?
Obviously I tried it and got
-1- [ p1, p2 ]
-2- [[ p1, p2 ]]
allSubobjects is specified as an operation that returns a Set(Element) when invoked on an Element.
However, what happens when allSubobjects is invokved on a Set(Element)?
Powered by FUDForum
. Page generated in 0.12636 seconds