Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » JavaDoc documentation of IModel(Request for description of the EMC component lifecycle)
JavaDoc documentation of IModel [message #1854859] Thu, 15 September 2022 05:05 Go to next message
Sam Harris is currently offline Sam HarrisFriend
Messages: 2
Registered: September 2022
Junior Member
Hi, we are trying to implement an EMC and have found that the IModel interface only has syntactical definitions and no documentation. We are not sure in which order and how often the various methods can be called. Where can we find a description of the general contract or a state machine that describes the lifecycle of a model.

For example, we are wondering if the store method can only be called once or should be safe to be called multiple times? Also, what does the Boolean return parameter signify?

Thanks,
Sam Harris
Codebots
Re: JavaDoc documentation of IModel [message #1854862 is a reply to message #1854859] Thu, 15 September 2022 07:39 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2162
Registered: July 2009
Location: York, UK
Senior Member

Hi Sam,

An EMC model is expected to be loaded (using load()) once, it can be stored multiple times and after disposing of it (using dispose()), it should no longer be used. The return parameter of store() signifies whether the model was successfully stored.

Please let me know if you have any further questions.

Thanks,
Dimitris
Previous Topic:Buggy default method in IPropertySetter, Epsilon 2.4
Next Topic:Native usage
Goto Forum:
  


Current Time: Tue Apr 16 23:56:30 GMT 2024

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

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

Back to the top