Stereotype - Error must be contained in a profile?

Discussions about systems engineering product SysML functionalities

Moderator: Moderators

Stereotype - Error must be contained in a profile?

Postby michael.hicken@ngc.com » Fri Sep 08, 2017 8:37 am

Hello,
I am running Cameo EA 18.5 SysML (Eval/demo version) and when I create a stereotype I get an Active Validation error "A stereotype must be contained, directly or indirectly, in a profile." The stereotype is for a Connector. I just want the ability to configure the line color and add some tags.

I am new to Cameo and I have no idea how to resolve the error.
Any help would be greatly appreciated.

- Mike
michael.hicken@ngc.com
Forum Newbie
Forum Newbie
 
Posts: 2
Posts Rating:0
Joined: Fri Sep 08, 2017 8:21 am

Re: Stereotype - Error must be contained in a profile?

Postby ieva.n » Fri Sep 08, 2017 8:55 am

Hello,

According to UML 2.5 Profile, part 12.4.9.5, second part:
"profile() : Profile
A stereotype must be contained, directly or indirectly, in a profile.".
Also, a profile description: "A profile defines limited extensions to a reference metamodel with the purpose of adapting the metamodel to a specific platform or domain."

Basically, you need to create a Profile element in the browser and move your stereotype into it to fix the validation error. While we do not forbid stereotype creation out of profiles, such modeling is invalid and not according the standards - modeling extensions should be created in dedicated profile.

You may ignore this error if you plan to keep with one stereotype only. However, if you plan to have more stereotypes, customization classes, you may want to move everything to dedicated profile - this also allows you to export the profile to separate project later and reuse in other projects.

Best Regards,
No Magic, Inc. Customer Support
ieva.n
No Magic
No Magic
 
Posts: 368
Posts Rating:29
Joined: Thu Aug 02, 2012 5:02 am
Full name: Ieva

Re: Stereotype - Error must be contained in a profile?

Postby michael.hicken@ngc.com » Fri Sep 08, 2017 9:40 am

Thank you. Worked like a charm.
michael.hicken@ngc.com
Forum Newbie
Forum Newbie
 
Posts: 2
Posts Rating:0
Joined: Fri Sep 08, 2017 8:21 am


Return to SysML

Who is online

Users browsing this forum: No registered users and 0 guests