Book a Demo

Author Topic: to check whether usecase is icluded or extended  (Read 4109 times)

sspvirgo

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
to check whether usecase is icluded or extended
« on: July 21, 2011, 06:52:05 am »
Hi,

I want to see whether my use case is included use case or extended use case when i am checking with the connectors.type i am getting the value as Usecase for both the included and extended use case. How would i know which one is the included use case and which is extended.

Appreciate your help on this.

Thanks

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: to check whether usecase is icluded or extende
« Reply #1 on: July 21, 2011, 03:27:19 pm »
I'm guessing, but probably the usecase on the target end will be the one that is being included/extended.

Geert

sspvirgo

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: to check whether usecase is icluded or extende
« Reply #2 on: July 21, 2011, 11:39:37 pm »
yes on the target end there would be the use case but how can we know whether it is included or extended. I am not able to get that information

sspvirgo

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: to check whether usecase is icluded or extende
« Reply #3 on: July 22, 2011, 06:53:24 am »
i got it i use the connectors.stereotype that gave me the includes and extends value when the connectors.type = UseCase  and from there i was able to find out the extended and included use cases using the supplier id and client id attribute.

Thanks,

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: to check whether usecase is icluded or extende
« Reply #4 on: July 22, 2011, 09:28:40 am »
Quote
i got it i use the connectors.stereotype that gave me the includes and extends value when the connectors.type = UseCase  and from there i was able to find out the extended and included use cases using the supplier id and client id attribute.

Thanks,
Safer to check Connector.Subtype (possible values: "Extends" or "Includes")
The Sparx Team
[email protected]