Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Problems accessing a model of stereotypes in UML (Problems accessing a model of stereotypes in UML )
Problems accessing a model of stereotypes in UML [message #1435076] Wed, 01 October 2014 01:48 Go to next message
Marcos Dias is currently offline Marcos DiasFriend
Messages: 1
Registered: October 2014
Junior Member
Hello everyone,
I'm having trouble accessing the stereotypes of a profile I created. I applied these stereotypes in a specific model but I can not access them in Java code.

The code:

The models are on the way: "model/"

O profile está no caminho: "model/configuracao/"

Reading the model is in the file:

This short code is commented as I was doing before using profiles. After its use, the code started giving error so I had to change.

I'm doing a reading of stereotypes in the file:
the method:
public static List<Dominio> getListDominioToModel(Model model)

Please, I need help.

Ah, sorry for the english, I'm using Google Translate

Re: Problems accessing a model of stereotypes in UML [message #1436938 is a reply to message #1435076] Fri, 03 October 2014 16:41 Go to previous message
bernard granier is currently offline bernard granierFriend
Messages: 8
Registered: February 2014
Junior Member
i do not know if it can help you but in acceleo with Java service this code is running for me

EnumerationLiteral val = (EnumerationLiteral)UMLObject.getValue(stereotype, propertyName);

hoppe this help
Previous Topic:Project explorer frame
Next Topic:communication path, artifact, execution environment
Goto Forum:

Current Time: Thu Jul 09 09:17:58 GMT 2020

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

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

Back to the top