Book a Demo

Author Topic: change default values  (Read 3534 times)

utilisateurEA

  • EA User
  • **
  • Posts: 57
  • Karma: +0/-0
    • View Profile
change default values
« on: April 02, 2010, 06:29:03 pm »
Hello,

Do you know if it is possible to change the default value of an operation ? For example the Scope or the Return Type ?
I tried to create a MDG technology with a metaclass and a stereotype but I couldn't change default values : I think this is designed to create customised objects but is it possible to set the default values of an operation for example?

Thank you

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: change default values
« Reply #1 on: April 02, 2010, 07:33:22 pm »
You might want to have a look at the template package, that allows you to create elements that serve as a template for new elements.

Geert

stao

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Re: change default values
« Reply #2 on: May 10, 2011, 11:12:09 pm »
sorry for digging old threads but that is exactly what i need
with the difference that i want to do this "template package" thing codewise.
i have written an addin with an uml profile and some stereotypes.
on creating attributes to a specific stereotype the default scope of the attribute should be always "public".
any idea how to do that?