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: Retrieve Link Module Mapping?
Topic Summary:
Created On: 23-Sep-2003 00:13
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.
 23-Sep-2003 00:13
User is offline View Users Profile Print this message


Douglas Zawacki

Posts: 97
Joined: 14-Aug-2003

DOORs 5.2

I am writing some DXL that will query all of the information about a link module.

The problem is that I know of no way to find out the type of mapping a link module has.
(ie. OneToOne, OneToMany, ManyToOne, ManyToMany)

When I use the create function to create the Link Module I can specify the type of mapping.
Example:
Module create(string name, string desc, int mapping [,bool display])

Where Mapping is a constant to be one of the following:
const int manyToMany
const int manyToOne
const int oneToMany
const int oneToOne


Does anybody know how to retrieve the type of mapping a link module has (Using DXL) ?

Edited: 23-Sep-2003 at 00:14 by Douglas Zawacki
Report this to a Moderator Report this to a Moderator
 23-Sep-2003 14:36
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

If you manually open the Link Module and then look at the module properties, you'll see a module (enumerated) attribute called "mapping".

You can get this info as follows:

Module mLM = read(NameLinkMod, false)
string Mapping = mLM."mapping" ""

- Louie
Report this to a Moderator Report this to a Moderator
 24-Aug-2005 13:22
User is offline View Users Profile Print this message


Robbie Longworth

Posts: 31
Joined: 23-Jun-2004

Hi,

Is there a way to change the mapping of a Link Module? When I try to set it in module properties it's all greyed out, and if I manually tweak the access rights to the Mapping module attribute definition/value it seems to make no difference?

Any ideas, I know I can do save links and link by attribute but I would have thought I'd be able to change it?

Cheers!

Robbie Longworth
Ultra Electronics Datel
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.