Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: db1 on May 16, 2006, 06:31:00 am

Title: usecases -> class model
Post by: db1 on May 16, 2006, 06:31:00 am
hi all,
is there a way to generate a class model from a use case model in EA? Or should a class model be built manually and then forward engineered to ddl, c# etc.

thanks!
db
Title: Re: usecases -> class model
Post by: thomaskilian on May 16, 2006, 09:18:48 am
You will have to do it manually, except you find a wizzard to do it for you ;)
Title: Re: usecases -> class model
Post by: vineetgogia on May 16, 2006, 10:01:03 am
Use case Model to Class model typically involves a few steps (usually done manually) and a single Use case model can result into several different class/Object models depending on the perspective, when analysed in detail.

So even if we talk about generating the class model it would typically be a "option overloaded wizard - Engine" if it is to produce some worthwhile results.

Title: Re: usecases -> class model
Post by: db1 on May 16, 2006, 10:15:23 am
thanks for the replies, i read through some of the threads on the forum and came across a term called "collaboration". Is this something I should be looking at in this context?

Thanks again for ur help!
db
Title: Re: usecases -> class model
Post by: thomaskilian on May 16, 2006, 11:03:02 am
That's what the multiple implementation of a UC will make use of. Create a Collab for each UC and call it the same as the UC with an extension "Realization". The Collab then contains the classes and whatever implementation dependent stuff. If you have multiple implementations you call them accordingly ("Realization for Env x" a.s.o.). Draw a <<realize>> relation between UC and Collab to make it clear.

Although most times you have only one UC realization I found it useful  to create the Collabs.