Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL]Problem to return a enumeration inside helper (no enumeration literal)
[ATL]Problem to return a enumeration inside helper (no enumeration literal) [message #89183] Wed, 27 August 2008 06:47
Amalia Garcia is currently offline Amalia GarciaFriend
Messages: 9
Registered: July 2009
Junior Member
Hello,

I want to create a helper that return a enumeration (no enumeration
literal) and I don't know to do.

The first time I write this helper, but I belive that return a enumeration
literal (I want a enumeration, alone) and inside return the
java.lang.RuntimeException exception.

helper def :getCardinality (cardinality: Logical!CardinaltyType) :
MCD_MetaModel!TipoCardinalidad =
if (cardinality=#ZERO_TO_MANY) then
#cero_a_muchos
else
#cero_a_uno
endif;

Can you help me?.

Thanks
Previous Topic:long-winded to copy all properties
Next Topic:Detailed UML to less Detailed UML
Goto Forum:
  


Current Time: Fri Apr 26 17:45:50 GMT 2024

Powered by FUDForum. Page generated in 0.03970 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top