|set a stereotype property value [message #626029]
||Wed, 13 February 2008 09:50
| Emilien Perico
Registered: July 2009
I've defined a profile with several sterotypes. I need to set a property
value of a stereotype manually in Java.
I know that it can be done with the followings lines:
namedElement.setValue(stereotype, property.getName(), value);
It's OK when I set a property with a primitive type like String.
Now I need to set a property which reference another Stereotype.
- Stereotype s1
- Stereotype s2
- Property name:String
- Property s1_reference: s1
I would like to set the "s1_reference" but I have problems with type.
Thanks for help,
Powered by FUDForum
. Page generated in 0.02407 seconds