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
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
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:
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