[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.mdt.uml2] Re: get the value of a stereotype's attribute

Hi Aurelie,

What methods are you using to access the property?

Element.getValue(stereotype,propertyName) ???

Tas






"guenin " <au.guenin@xxxxxxxxxxx> wrote in message news:d7ef2ef525f749eedd8c04d9c81c94a4$1@xxxxxxxxxxxxxxxxxx
Hi,

I have created a uml profile with a stereotype s which have a property p without a specific value.
Then I have created a model with a class c with the stereotype s. I have given the value 100 to the property p.


Then I would like to get the value 100 in a java programm.
I have load my uml model in java, I succeed in getting uml elements with the stereotype s.
But I don't succeed in having the property's value of the stereotype. How it is possible?


If someone can help me, Thank you

Aurelie