Book a Demo

Author Topic: RefGuid and stereotype  (Read 5066 times)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
RefGuid and stereotype
« on: May 05, 2016, 07:34:42 pm »
I tried to define a TV with
Code: [Select]
Type=RefGUID;
Stereotypes=Stereotype1;
just like in the help. But it does not limit in any way to Stereotype1. Rather it allows to select anything.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: RefGuid and stereotype
« Reply #1 on: May 05, 2016, 09:05:03 pm »
I think it only works when combined with Values (or maybe Metatype)

To be fair the help does say:
   
Code: [Select]
Type=RefGUID;
Values=Type1,Type2;
Stereotypes=Stereotype1;

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: RefGuid and stereotype
« Reply #2 on: May 05, 2016, 09:25:13 pm »
You are right. However, omitting Stereotypes seems to work as one would expect. Well, this is EA...

q.