Book a Demo

Author Topic: Access RAQuest attributes via COM Interface  (Read 4583 times)

ufechner

  • EA User
  • **
  • Posts: 85
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Access RAQuest attributes via COM Interface
« on: September 30, 2007, 10:26:59 pm »
Hello,

how can I access user defined Attributes of Requirements, that are defined in RA-Quest using the COM-Interface?

I can access normal classes, didn't try to access the attributes of requirements yet.

Any help appreciated.

Uwe Fechner

Takeshi K

  • EA User
  • **
  • Posts: 620
  • Karma: +41/-1
    • View Profile
    • Sparx Systems Japan
Re: Access RAQuest attributes via COM Interface
« Reply #1 on: September 30, 2007, 10:38:01 pm »
Hello Uwe Fechner,

User-defined values are stored as Tagged-Value of EA.
You can access them using COM-Interface.

(Please notice that some internal values are also stored
as Tagged-Values. Please do not modify these RaQuest internal values.)

--
t-kouno
--
t-kouno

ufechner

  • EA User
  • **
  • Posts: 85
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Access RAQuest attributes via COM Interface
« Reply #2 on: October 01, 2007, 02:59:45 am »
Thank you.
The next thing I need, is to get the list of:

- the requirements, a given requirement is owned by
- the requirements, a given requirement owns
- the requirements, a given requirement depends on
- the requirements, a given requirement is needed by

Any idea?

Regards:

Uwe Fechner

ufechner

  • EA User
  • **
  • Posts: 85
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Access RAQuest attributes via COM Interface
« Reply #3 on: October 01, 2007, 03:46:33 am »
Ok, I can use:

GetRelationSet(rsDependStart) and
GetRelationSet(rsDependEnd)

to get the dependencies and the property ParentID
to get the parents of a requirement.

For some reason (I think, it is a bug)
GetRelationSet(rsParents) doesn't work.

But how can I get the children (owns relationship) of a
requirement?

Regards:

Uwe Fechner
« Last Edit: October 01, 2007, 04:28:20 am by ufechner »

Takeshi K

  • EA User
  • **
  • Posts: 620
  • Karma: +41/-1
    • View Profile
    • Sparx Systems Japan
Re: Access RAQuest attributes via COM Interface
« Reply #4 on: October 01, 2007, 07:19:42 pm »
Maybe now it is not problem of RaQuest but of EA API.

If I understand correctly. Element.Elements collection
is children elements.

--
t-kouno
--
t-kouno