Skip to main content



      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 02:47
Eclipse UserFriend
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: Sat Jul 12 08:31:01 EDT 2025

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

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

Back to the top