Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Making linksets mandatory
Topic Summary:
Created On: 12-Jul-2006 07:21
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Tony Goodman, on Thursday, July 13, 2006 12:03 PM

Answer:
To create a linkModuleDescriptor (LMD) use addLinkModuleDescriptor. This is the equivalent of selecting Add.. in the GUI. The manual does not include the following variant, which allows you to specify that the LMD is mandatory (optional 5th parameter):
string addLinkModuleDescriptor(Folder folder,string source,string target,bool overridable,bool mandatory, string name,string description)

You can get and set the mandatory property of LMD's using the following:
string setMandatory(LinkModuleDescriptor,bool)
bool getMandatory(LinkModuleDescriptor)

You can get and set the exclusive property using the following. This is the same as the checkbox on the GUI "only allow outgoing links as specified in the above list":
string setLinkModuleDescriptorsExclusive(Folder,ModName_,bool)
bool getLinkModuleDescriptorsExclusive(Folder,ModName_)
 12-Jul-2006 07:21
User is offline View Users Profile Print this message


Subrojyoti Sengupta

Posts: 52
Joined: 18-Nov-2005

Does anybody know how to make linksets Mandatory using DXL?? I found functions setOverridable, getOverridable in the reference manual but nothing related to the property mandatory .
Report this to a Moderator Report this to a Moderator
 12-Jul-2006 08:10
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Answer Answer
To create a linkModuleDescriptor (LMD) use addLinkModuleDescriptor. This is the equivalent of selecting Add.. in the GUI. The manual does not include the following variant, which allows you to specify that the LMD is mandatory (optional 5th parameter):
string addLinkModuleDescriptor(Folder folder,string source,string target,bool overridable,bool mandatory, string name,string description)

You can get and set the mandatory property of LMD's using the following:
string setMandatory(LinkModuleDescriptor,bool)
bool getMandatory(LinkModuleDescriptor)

You can get and set the exclusive property using the following. This is the same as the checkbox on the GUI "only allow outgoing links as specified in the above list":
string setLinkModuleDescriptorsExclusive(Folder,ModName_,bool)
bool getLinkModuleDescriptorsExclusive(Folder,ModName_)

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 13-Jul-2006 12:02
User is offline View Users Profile Print this message


Subrojyoti Sengupta

Posts: 52
Joined: 18-Nov-2005

Thanks for the Info. My script is up and running
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.