Problem with for [message #72089] |
Wed, 16 January 2008 08:28  |
Eclipse User |
|
|
|
Originally posted by: luciananegri81.yahoo.it
Hi all,
I've following problem: when I run atl file
the FOR instruction is not performed.
Have anyone an idea for this problem?
Thanks
Luciana
|
|
|
|
Re: [ATL]Re: Problem with for [message #72897 is a reply to message #72148] |
Mon, 21 January 2008 03:25   |
Eclipse User |
|
|
|
Originally posted by: luciananegri81.yahoo.it
Hi Quentin,
excuse me for the prefix ATL, I have forgotten him.
Here an excerpt of transformation:
helper def : allClassesUC : Set (UML!PAstep) = UML!PAstep.allInstances()
->select(e | e.subject.size() <> 0);
lazy rule actor2root {
from
a : UML!Actor(
(a.oclIsTypeOf(UML!Actor) and not a.useCase.isEmpty())
)
to
r : FT!Root (
name <- a.name,
description <- 'Reliability del sistema',
SystemReliability <- ' ',
port <- createPort
),
createPort : FT!Port (
name <- 'Port of ' + a.name,
type <- #OR,
outdegree <- 1
)
do {
for (e in thisModule.allClassesUC) {
createPort.event <-thisModule.uc2intermediate;
}
}
}
lazy rule uc2intermediate {
from
uc : UML!PAstep
(not uc.subject.isEmpty)
to
intermediate : FT!Intermediate (
name <- 'Reliability '+ uc.name,
composedProbability <- ' '
)
}
Thank you very much.
Luciana
|
|
|
|
|
Re: [ATL]Re: Problem with for [message #72994 is a reply to message #72982] |
Mon, 21 January 2008 05:16  |
Eclipse User |
|
|
|
Originally posted by: quentin.glineur.obeo.fr
This is a multi-part message in MIME format.
--------------050801050104050905010208
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
Hi again,
Luciana a
|
|
|
Powered by
FUDForum. Page generated in 0.08751 seconds