Main Menu
Login
SSL SecureMode
Username:
Password:  
Lost Password?
Register now!
ChangeVision Members Map
Search
Forum Index   -   Topic Index
   Astah API
     Read use case description with API

Flat Previous Topic | Next Topic
Poster Thread
Joba
Posted on: 2010/10/22 3:26
Developer
Joined: 2006/6/6
From:
Posts: 969
Re: Read use case description with API
Hi Benjamin,

Let me show an example. So you have this association between Actor0 and UseCase0 as the figure below.










Quote:





























This returns as below:
Quote:




So by letting each association end have a name, you can identify the association ends with getName(). Without having association end names, (getType(), getTypeExpression(), getOwner(), getContainer()) and checking IAssociation from getAssociation() will do.
Quote:
How to check that one end of the IAssociation is a Use case?
See what getType() returns is an IUsecase's instance or not.

Hope it helps.

Cheers,
Satomi
Flat Previous Topic | Next Topic

Subject Poster Date
   Read use case description with API bisnard 2010/10/20 18:57
   » Re: Read use case description with API Joba 2010/10/22 3:26
       Re: Read use case description with API bisnard 2010/10/22 21:20