Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Questions on component dev- extending jazz repository

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

0 votes



One answer

Permanent link
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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937

Question asked: Aug 26 '08, 8:22 a.m.

Question was seen: 7,277 times

Last updated: Aug 26 '08, 8:22 a.m.

Confirmation Cancel Confirm