Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » exemple of condition in transformation ATL
exemple of condition in transformation ATL [message #1022090] Thu, 21 March 2013 05:10 Go to next message
samar sousou is currently offline samar sousou
Messages: 63
Registered: March 2013
Member
Hi,
please i want an exemple of atl transformation with input condition.

Thanks in advance.

Samar.
Re: exemple of condition in transformation ATL [message #1022094 is a reply to message #1022090] Thu, 21 March 2013 05:13 Go to previous message
Federico Toledo is currently offline Federico Toledo
Messages: 97
Registered: April 2012
Location: Ciudad Real, Spain
Member
do you mean something like this:


rule Member2Female {
from
s: Families!Member (s.isFemale())
to
t: Persons!Female (
fullName <- s.firstName + ' ' + s.familyName
)
}



I got that from the first result in the google search for "atl example"......
Previous Topic:Use XSD Metamodel in ATL
Next Topic:The problem of transformation
Goto Forum:
  


Current Time: Fri Aug 22 02:07:34 EDT 2014

Powered by FUDForum. Page generated in 0.01993 seconds