osate / ErrorModelV2

Old AADL EMV2 annex repository, kept for reference
3 stars 10 forks source link

retrieving model error artifacts #5

Closed juli1 closed 11 years ago

juli1 commented 11 years ago

Hi,

When querying the model, I do not get everything on a component. For example, when invoking the following methods:

When invoking these methods on a component instance, I do not get the definitions from the component classifier (in case my instance is a component implementation) or its refined component.

I have added an example in the repository, embedded-control.aadl. When trying to call these methods, I do not retrieve the appropriate objects from the models. In particular for the following components from the root system :

To reproduce the issue, instantiate the model and try to generate the PRISM model from the root instance. Then, in Module.java (on line 319) in package org.osate2.aadl2.errormodel.analysis.prism, all object are either null or contains nothing at all.

reteprelief commented 11 years ago

methods are now available and handle inheritance.