Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MOFScript » Applying Stereotypes(How to apply Profiles and stereotypes)
Applying Stereotypes [message #760159] Thu, 01 December 2011 13:50
ramthor is currently offline ramthorFriend
Messages: 1
Registered: December 2011
Junior Member
I am trying to create an UML model consisting of classes and applying stereotypes defined in a profile of mine to those classes. Basically I have
out umlout:" not allowed ..." (umlout.Model)
as metamodel.
I am unsure how to declare my Profile to MOFScript. Should my profile be an in model?
For example: in myProfile:" not allowed"
I tried to "applyProfile" this to umlout in various ways, but no luck
(Wrong types of input objects. Expected UML Model and Profile.)

How do I apply an Stereotype to an element of my umlout? To do this I first need a stereotype object.
The uml2 API has a method getApplicableStereotypes, which is not available in MOFScript.
I searched for m2t files but there are none available for my problem.
If you have an example that would be great (

Thanks, Robert
Previous Topic:MOFScript called from Java API can only transform UML2 3.0.0?
Next Topic:Problem running transformation in Java
Goto Forum:

Current Time: Wed Nov 25 10:35:34 GMT 2015

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

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