|Invalid Profile When Save [message #1004712]
||Wed, 23 January 2013 18:09
| edipo federle
Registered: November 2012
I have a profile project created on Papyrus. I add a stereotype and save it. Until now everthing work fine. The problem appear in the moment of add a property into stereotype. More exactly when I import primitive types.
In short, the problem happens when I apply a type to a property and save it.
SSomeone know what can be ?
|Re: Invalid Profile When Save [message #1005091 is a reply to message #1004763]
||Thu, 24 January 2013 13:12
| Christian W. Damus
Registered: July 2009
On 2013-01-23 20:34:56 +0000, edipo federle said:|
> I managed to set a property type using the UML model by Editor ....
Do you mean that you weren't using the Papyrus editor, before? Were
you just editing the XML in a text editor?
Anyways, it seems that you have gotten past the "Invalid Profile" error
on save, so that's good.
> But the list type, I have not found String-UMLPrimitiveType.
What list? Do you mean that you want a property that is a list of
strings? That's a property of type String with an upperBound greater
than one. A typical unbounded multiplicity is [0..*].
Or is it a problem of knowing where the String type is defined? It's
in the same place that you found the Integer type: the UML Primitive
Types library model. A new Papyrus profile imports the UML Primitive
Types for you if you used the suggested template when creating the
profile, so it should be available in the property sheet for you
stereotype property. If you don't have the primitive types imported in
your profile, then you can fix that using the "Import Registered
Package" action in the context menu of the profile in the Model
Powered by FUDForum
. Page generated in 0.02352 seconds