Bug 465834 - The Property Dependency analysis shows a supertype.property dependency instead of actual type
Summary: The Property Dependency analysis shows a supertype.property dependency instea...
Status: NEW
Alias: None
Product: QVTd
Classification: Modeling
Component: Core (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-29 11:21 EDT by Horacio Hoyos CLA
Modified: 2015-04-29 11:35 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Horacio Hoyos CLA 2015-04-29 11:21:42 EDT
In the /org.eclipse.qvtd.build.etl.tests/src/org/eclipse/qvtd/build/etl/tests/UmlToRdbms/UmlToRdbms.qvtc example, for the primitive type MR mappings (e.g. booleanToBoolean_MR), there is a dependency to PrimitiveToName.owner. Since the mapping has a variable of a specific subtype, e.g. BooleanToBoolean, the dependency should be shown as BooleanToBoolean.owner .
Comment 1 Horacio Hoyos CLA 2015-04-29 11:31:31 EDT
Similarly, in the opposite case, i.e. the mapping has an input of a type which has subtypes, the property dependencies should be to the given property of all subtypes. Yes, the types are connected by inheritance edges, but this is not true for the properties. This causes propertyes form (abstract) supertypes to be shown in the graph only as requirements, but there is no mapping that produces them.
Comment 2 Horacio Hoyos CLA 2015-04-29 11:35:43 EDT
(In reply to Horacio Hoyos from comment #1)
> Similarly, in the opposite case, i.e. the mapping has an input of a type
> which has subtypes, the property dependencies should be to the given
> property of all subtypes. Yes, the types are connected by inheritance edges,
> but this is not true for the properties. This causes propertyes form
> (abstract) supertypes to be shown in the graph only as requirements, but
> there is no mapping that produces them.

Disregard this comment please. The behaviour is the same as originally posted, but this is the effect it has on productions.