I'm using Enterprise Architect Ver. 9.2 and i have a very strange problem with the UML2Exporter.
If i place the multiplicity at a method parameter, the exporter don't put int into the uml file.
I placed some screenshots of my settings in EA
Hi
This is not a bug. This is a new feature.
In earlier releases of EA these options where not available.
Currently a solution is not available, due to these values are not exportet by COM interface of EA.
So we have to wait for a solution of sparx systems.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Currently I have no work arround.
I didn't find a way to get the information about multiplicity of parameters.
If you can give me some hint, it would be very helpful.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Currently I have no work arround.
I didn't find a way to get the information about multiplicity of parameters.
If you can give me some hint, it would be very helpful.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Setting of the method parameter
The written UML file by the exporter is missing the upperBound and lowerBound tags :
<ownedOperation xmi:id="{F2EB6B9C-2F05-4a3b-A522-3CC2CC895056}" name="TestServiceProtokoll" visibility="public">
<ownedParameter xmi:id="_hyofS3UAEeGI1OWPk4BGhw" type="42adcbaa-3817-4301-9e9d-0c2f97f99140" direction="return"/>
<ownedParameter xmi:id="{3D906A98-75B0-4e98-9022-30CD868E47F4}" name="meldungsliste" type="{04939983-8797-42a6-A693-6761334F4067}">
<defaultValue xmi:type="uml:LiteralString" xmi:id="_hy7aQHUAEeGI1OWPk4BGhw" value=""/>
</ownedParameter>
<ownedParameter xmi:id="{8B561841-5505-4ca8-B5D9-93FF8076E4B3}" name="passeditems" type="{5287D37A-ACAA-435f-B137-7011213163C0}">
<defaultValue xmi:type="uml:LiteralString" xmi:id="_hy7aQnUAEeGI1OWPk4BGhw" value=""/>
</ownedParameter>
</ownedOperation>
if should look like that :
<ownedOperation xmi:id="{F2EB6B9C-2F05-4a3b-A522-3CC2CC895056}" name="TestServiceProtokoll" visibility="public">
<ownedParameter xmi:id="_hyofS3UAEeGI1OWPk4BGhw" type="42adcbaa-3817-4301-9e9d-0c2f97f99140" direction="return"/>
<ownedParameter xmi:id="{3D906A98-75B0-4e98-9022-30CD868E47F4}" name="meldungsliste" type="{04939983-8797-42a6-A693-6761334F4067}">
<defaultValue xmi:type="uml:LiteralString" xmi:id="_hy7aQHUAEeGI1OWPk4BGhw" value=""/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_hy7aNnUAEeGI1OWPk4BGhw" value="*"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="_hy7aNXUAEeGI1OWPk4BGhw"/>
</ownedParameter>
<ownedParameter xmi:id="{8B561841-5505-4ca8-B5D9-93FF8076E4B3}" name="passeditems" type="{5287D37A-ACAA-435f-B137-7011213163C0}">
<defaultValue xmi:type="uml:LiteralString" xmi:id="_hy7aQnUAEeGI1OWPk4BGhw" value=""/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_hy7aNnUAEeGI1OWPk4BGhw" value="*"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="_hy7aNXUAEeGI1OWPk4BGhw"/>
</ownedParameter>
</ownedOperation>
because of this, my javas classes was generated in a wrong way (with exact types, instead of a list, containing these types)
Plesae help, this is urgent !
br,
Edi
Hi
This is not a bug. This is a new feature.
In earlier releases of EA these options where not available.
Currently a solution is not available, due to these values are not exportet by COM interface of EA.
So we have to wait for a solution of sparx systems.
ok, did you have an idea for a workaround to this problem ?
br,
Edi
Currently I have no work arround.
I didn't find a way to get the information about multiplicity of parameters.
If you can give me some hint, it would be very helpful.
Currently I have no work arround.
I didn't find a way to get the information about multiplicity of parameters.
If you can give me some hint, it would be very helpful.