[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] get property'value of stereotype

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