[ http://jira.andromda.org/browse/UMLMETA-78?page=comments#action_13562 ] 

Wouter Zoons commented on UMLMETA-78:
-------------------------------------

by the way, this is the exception I was having:

Main Exception .: java.lang.ClassCastException: 
org.eclipse.uml2.impl.EnumerationLiteralImpl
Root Exception .: java.lang.ClassCastException: 
org.eclipse.uml2.impl.EnumerationLiteralImpl
java.lang.ClassCastException: org.eclipse.uml2.impl.EnumerationLiteralImpl
        at 
org.andromda.metafacades.emf.uml2.EnumerationFacadeLogicImpl$1.evaluate(EnumerationFacadeLogicImpl.java:67)
        at 
org.apache.commons.collections.CollectionUtils.filter(CollectionUtils.java:403)
        at 
org.andromda.metafacades.emf.uml2.EnumerationFacadeLogicImpl.handleGetLiterals(EnumerationFacadeLogicImpl.java:60)
        at 
org.andromda.metafacades.emf.uml2.EnumerationFacadeLogic.getLiterals(EnumerationFacadeLogic.java:171)
        at 
ntc.nms.mda.cartridge.NmsEnumerationLogic.getLiterals(NmsEnumerationLogic.java:436)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.andromda.core.common.Introspector.internalGetProperty(Introspector.java:495)
        at 
org.andromda.core.common.Introspector.getNestedProperty(Introspector.java:226)
        at 
org.andromda.core.common.Introspector.getProperty(Introspector.java:182)
        at 
org.andromda.translation.ocl.validation.OCLIntrospector.invoke(OCLIntrospector.java:40)
        at 
org.andromda.metafacades.emf.uml2.EnumerationFacadeLogic.validateInvariants(EnumerationFacadeLogic.java:250)
        at 
ntc.nms.mda.cartridge.NmsEnumerationLogic.validateInvariants(NmsEnumerationLogic.java:746)
        at 
org.andromda.core.metafacade.MetafacadeBase.validate(MetafacadeBase.java:106)
        at 
org.andromda.core.metafacade.MetafacadeFactory.validateAllMetafacades(MetafacadeFactory.java:260)
        at 
org.andromda.core.engine.ModelProcessor.validateModel(ModelProcessor.java:396)
        at 
org.andromda.core.engine.ModelProcessor.loadModelIfNecessary(ModelProcessor.java:353)
        at 
org.andromda.core.engine.ModelProcessor.loadIfNecessary(ModelProcessor.java:533)
        at 
org.andromda.core.engine.ModelProcessor.processModels(ModelProcessor.java:225)
        at 
org.andromda.core.engine.ModelProcessor.process(ModelProcessor.java:146)
        at 
org.andromda.core.engine.ModelProcessor.process(ModelProcessor.java:82)
        at org.andromda.core.engine.Engine.run(Engine.java:82)
        at org.andromda.core.AndroMDA.run(AndroMDA.java:197)

> Member variable & parameters support for enums in uml metafacades
> -----------------------------------------------------------------
>
>          Key: UMLMETA-78
>          URL: http://jira.andromda.org/browse/UMLMETA-78
>      Project: UML Metafacades
>         Type: New Feature

>     Versions: 3.2-RC1
>  Environment: Existing enum strategy for Hibernate/Spring
> Java5 enums for EJB3
>     Reporter: Vance Karimi
>     Assignee: Vance Karimi
>     Priority: Minor
>      Fix For: 3.2-RC1
>  Attachments: andromda-metafacades-uml.xml.zip, 
> andromda-profile-persistence.xml.zip, enum-metafacades-patch.txt
>
> http://galaxy.andromda.org/forum/viewtopic.php?p=15577#15577
> - A tagged value to distinguish an enum literal from an enum member variable.
> - Another tagged value to specify the comma separated parameters 
> (representing each enum member variable) for the enum literal. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

Reply via email to