|Re: Problems while creating a UML profile diagram [message #1720684 is a reply to message #1720169]
||Wed, 20 January 2016 09:46
I think your model is not correct.
IMO what you actually need is to set the type of the property to
RSLPeriod, not a relationship. Then, if you want to use a default value
you can set it in your property.
El 15/01/2016 a las 15:29, Stefan Walter escribió:
> I am facing a problem while creating a UML profile diagram. I extended SysML Requirements Diagram by defining a new stereotype "RSLReqPeriodic" derived from the "Requirement" stereotype as depicted in picture1.
> I added the property "Period:RSLPeriod" to "RSLReqPeriodic". The property should refer to an element of type "RSLPeriod". Therefore I created a directed association between "RSLReqPeriodic" (source) and "RSLPeriod" (target). See picture2.
> The idea was, that if I would draw this association between those elements in a SysML Requirement diagram which applies the profile I have defined, the property "Period" of the element which is typed as "RSLReqPeriod" will be set automatically to the one I have refered to using the association. See picture3 and 4.
> The problem is that it is that the property is not set. What did I do wrong?
Powered by FUDForum
. Page generated in 0.02252 seconds