EJB3 Service Operations Cardinality Return parameters

Description

I found a bug in EJB3 cartridge. (3.4 and 3.4-SNAPSHOT)

When you use multiplicity = * or 0..* in return parameter in a service operations, generated code has an error.

Service.vsl in andromda-java-cartridge generate Collection<Type> as result parameter from <Service> stereotype with operation with Type parameter result with * cardinality but

SessionBeanBase.vsl in andromda-ejb3-cartridge
ServiceDelegate.vsl in andromda-ejb3-cartridge
SessionLocal.vsl in andromda-ejb3-cartridge
SessionRemote.vsl in andromda-ejb3-cartridge
SessionBeanImpl.vsl in andromda-ejb3-cartridge

generate just "Type" like a return parameter.

I tried to change Template but I think that the problem is in Metafacades.

Environment

Andromda 3.4 and 3.4-SnapShot, MagicDraw 16.5, Maven 3.1.1

Activity

Show:
Bob Fields
September 17, 2014, 7:04 PM

Fixed metafacade multiplicity determiniation.

Assignee

Bob Fields

Reporter

Nacho

Labels

Components

Fix versions

Affects versions

Priority

Major
Configure