Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MoDisco » Some 'calls' are lost
icon9.gif  Some 'calls' are lost [message #1729394] Wed, 13 April 2016 17:29 Go to next message
Hulk Esp is currently offline Hulk EspFriend
Messages: 5
Registered: March 2016
Junior Member

I have this Java class (with Spring annotations):

public class MyService implements IMyService {
    private IMyDAO myDAO;

    public InfoDTO methodTest(String id) {
        InfoDTO info = myDAO.getInfo(id);
	return info; 

I used Modisco to discover the KDM model. I iterate all the Action Elements of kind "method invocation" in order to get the Calls element. Then, I access the "to" and "from" references. My problem is that I don't find the Calls element that represents the invocation from 'MyService ' to 'IMyDAO .getInfo' (line myDAO.getInfo ).... The only Calls that i find is the invocation from 'MyService ' to 'InfoDTO ' (line info.setTest("test")).

How to get the Calls element (from an Action Elements of kind "method invocation" ) that represents that invocation?. Does Modisco create an element that represents it?.

i'm using Modisco 0.12.2.


Re: Some 'calls' are lost [message #1729534 is a reply to message #1729394] Fri, 15 April 2016 08:12 Go to previous message
Hugo Bruneliere is currently offline Hugo BruneliereFriend
Messages: 674
Registered: July 2009
Senior Member
Thanks for using some of the MoDisco components.
The Java-to-KDM transformation is partial in the sense that not all Java model elements are necessarily transformed into KDM ones as it may be expected.
Please, submit a bug so that we can keep track of this limitation and solve it when possible.
If the KDM representation is not strongly needed, in the meantime you can also exploit directly the Java model which is complete.
Kind regards,

Hugo Bruneliere, PhD
NaoMod team (IMT Atlantique & LS2N-CNRS)
Nantes - France
Previous Topic:XML Discoverer - standalone
Next Topic:KDM to UML does not work
Goto Forum:

Current Time: Sat Dec 05 13:01:15 GMT 2020

Powered by FUDForum. Page generated in 0.02342 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top