It's all about the answers!

Ask a question

Questions on component dev- extending jazz repository


Vibha Sinha (1643610) | asked Aug 26 '08, 8:22 a.m.
Hi

I was writing my own ecore to extend the Jazz repository. I was wondering how to specify enumerations ?

Secondly, I need some contained attributes which are of type string and multiplicity 0 to -1. However, the Jazz generated component code seems to have compilation problems when I try to do so. Thing work fine for reference attributes.

Thanks
- Vibha

One answer



permanent link
Matt Lavin (2.7k2) | answered Aug 26 '08, 8:57 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Enumerations can be specified as EMF enumerations.

For 1.0, lists of primitive types (non-references) are not supported in
the model. A common workaround is to model a helper that has a string
attribute and use a list of that helper type.


Matt Lavin
Jazz Server Team


vssinha wrote:
Hi

I was writing my own ecore to extend the Jazz repository. I was
wondering how to specify enumerations ?

Secondly, I need some contained attributes which are of type string
and multiplicity 0 to -1. However, the Jazz generated component code
seems to have compilation problems when I try to do so. Thing work
fine for reference attributes.

Thanks
- Vibha

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.