get the value of a stereotype's attribute [message #478662] |
Tue, 04 August 2009 10:56  |
Eclipse User |
|
|
|
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
|
|
|
|
|
Re: get the value of a stereotype's attribute [message #627843 is a reply to message #478662] |
Tue, 04 August 2009 11:18  |
Eclipse User |
|
|
|
Hi Aurelie,
What methods are you using to access the property?
Element.getValue(stereotype,propertyName) ???
Tas
"guenin " <au.guenin@laposte.net> wrote in message
news:d7ef2ef525f749eedd8c04d9c81c94a4$1@www.eclipse.org...
> 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
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.26615 seconds