Helper Problem _ I don't know how to solve? [message #547988] |
Tue, 20 July 2010 10:56 |
Roger80 Messages: 79 Registered: May 2010 |
Member |
|
|
1) My problem is that I first need the target from the event where the id is like the target. That is working (first part of OCL statement).
2) Then I need attribute source where the f.target is like the values I get from the sequence in the first statement. This is were I am actually on and you try to help me.
3) I need to check if the source is included in the XOR element. This is I think also not a problem. I try it like that...
My code so far, but I have problems after the "asSequence()":
EPK!ControlFlow.allInstances() -> collect(i | i.target)-> asSet() -> intersection(self.id -> asSet()) -> asSequence() -> select (f | f.target=Sequence {'2'})->collect(f | f.source).debug() -> includes(EPK!XOR.allInstances() -> collect(d | d.id));
Thanks and cheers
Roger
[Updated on: Tue, 20 July 2010 10:59] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02347 seconds