Hi everyone!
I have a question about a <derived> pragma. As stated on http://code.google.com/p/moose-technology/wiki/FameMetaDescriptions : <derived> the property value can be derived from other properties (no need for persistence). So I have a question: why are for example localVariables and parameters of a FAMIXBehaviouralEntity derived when they are stored in the instance variable? Regards Yuriy -- View this message in context: http://moose-dev.97923.n3.nabble.com/The-idea-behind-derived-pragma-tp4026063.html Sent from the moose-dev mailing list archive at Nabble.com. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
On Mon, Feb 4, 2013 at 10:48 AM, Yuriy Tymchuk <[hidden email]> wrote: Hi everyone!
You don't need to store, because they can be computed from other properties. But when storing you have faster queries. Moreover, you don't need to have such derived properties in the MSE file because they can be always derived from others.
Andre Hora _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Ok, so it's mainly for serialization purposes I guess.
This makes sense. And this way in many-to-one relationships one part will be always derived. On 4 лют. 2013, at 11:23, "Andre Hora [via moose-dev]" <[hidden email]> wrote:
View this message in context: Re: The idea behind "derived" pragma Sent from the moose-dev mailing list archive at Nabble.com. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |