Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » profile references in uml file
profile references in uml file [message #871643] Mon, 14 May 2012 15:50
Francisco Cremades is currently offline Francisco Cremades
Messages: 1
Registered: May 2012
Junior Member
Hello,

Im triying to read the uml file generated by the model created in papyrus. I imported some profiles where are defined some data types. When I read the uml file, the datatype of the 'ownedAttribute' is a reference to data type in the profile, but not the name of the data type.

How i can solved this?

Sorry for my english...

example. Internal type:


<ownedAttribute xmi:id="_ezo0QJj_EeGNm9TSfvYG7w" name="apellido" type="_QWwjgJs6EeGk8PpFwIWXHQ" isUnique="false">
<ownedComment xmi:id="_DYC2IJqREeGRW8OMdlvq7Q">
<body>Apellido del usuario</body>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_ezo0Qpj_EeGNm9TSfvYG7w" value="1"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="_ezo0QZj_EeGNm9TSfvYG7w" value="1"/>
<defaultValue xmi:type="uml:LiteralString" xmi:id="_ZtgqMJq7EeGRW8OMdlvq7Q" name="apellido" value=""/>
</ownedAttribute>

import data type:

<ownedAttribute xmi:id="_eWNXoJqPEeGRW8OMdlvq7Q" name="casado" isUnique="false">
<ownedComment xmi:id="_sA_soJqPEeGRW8OMdlvq7Q">
<body>Atributo que indica si el usuario esta casado</body>
</ownedComment>
<type xmi:type="uml:DataType" xmi:id="perfiles/andromda-datatype-3.4-SNAPSHOT.uml#_9_0_1fe00f9_1119336925531_736816_6"/>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="_T9bV8J2wEeGX6NCKDF6s4w" name="casado"/>
</ownedAttribute>

Previous Topic:Create Object Action in Interaction Diagrams
Next Topic:ecore model from .di
Goto Forum:
  


Current Time: Wed Sep 17 21:51:18 GMT 2014

Powered by FUDForum. Page generated in 0.15228 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software