[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.newcomer] Re: get property'value of stereotype
|
Fiorella,
Have you tried debugging the code? Are you sure that the stereotype has been
successfully applied?
Kenn
"Ed Merks" <Ed.Merks@xxxxxxxxx> wrote in message
news:gorvuq$7t5$1@xxxxxxxxxxxxxxxxxxxx
> Fiorella,
>
> It's best to ask on the UML2 newsgroup, which I've added to the "to" list
> of the reply, so no need to repost.
>
> I'm having a very hard time reading your question. You many want to
> clarify it...
>
>
> fiorella wrote:
>> Hello, I have a problem with eclipse.
>> I have a uml model, which was exported by MagicDraw, which I would get
>> the property values of certain stereotypes.
>> I realizzayo the following method:
>> public static object loadREaccessProb (org.eclipse.uml2.uml.Actor actor,
>> Stereotype ste) (
>>
>> String Nameste= ste.getQualifiedName();
>> object value = actor.getValue (getAppliedStereotype (nameste),
>> "Reaccessprob"));
>> return value;
>> )
>> reaccessprob where is the property I want to achieve.
>> the metaclasse which I applied the stereotype is Actor.
>> I would like now, in the main, chiamre this method.
>> Parameters such as current pace?
>> Hello thanks
>>