Book a Demo

Author Topic: SQL-search definition for MODAF OV-3  (Read 3530 times)

Lars

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
SQL-search definition for MODAF OV-3
« on: January 24, 2014, 07:06:09 pm »
Hello everyone!

I'm using one of the pre-defined search questions that comes with UPDM 2.0 in order to generate the MODAF OV-3 (Operational Information Exchange) view.

The SQL-question is formulated accordingly and for a start it works out well:
Code: [Select]
SELECT '«'+t_connector.Connector_Type+'» ' As Flödestyp, '«'+Conv.Stereotype+'» '+Conv.Name AS Informationsobjekt, '«'+Prod.Stereotype+'» '+Prod.Name AS Avsändare, '«'+Cons.Stereotype+'» '+Cons.Name AS Mottagare FROM t_connector, t_xref, t_object AS Conv, t_object AS Prod, t_object AS Cons WHERE t_connector.Connector_Type='InformationFlow' AND t_xref.Client=t_connector.ea_guid AND t_xref.Behavior='conveyed' AND t_xref.Description=Conv.ea_guid AND t_connector.Start_Object_ID=Prod.Object_ID AND t_connector.End_Object_ID=Cons.Object_ID ORDER BY Prod.Name, Cons.Name

My concern is how to get hold of the attributes (and their values) that are defined for the elements that are conveyed on the above selected connectors (InformationFlow), any ideas?

Lars

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: SQL-search definition for MODAF OV-3
« Reply #1 on: January 24, 2014, 10:47:02 pm »
t_attribute holds the object_id  of the element possessing it.

q.