On 14/09/2015 15:15, Alexandre Bergel wrote:
Shouldn’t an entity be aware of the language it
written in? Why the model?
by default, the language of an entity is the language of
the model.
Thus for single language project, you don't need to specify the
sourceLanguage for each and every entity.
For projects which multiple languages, one can either elect one language
as the default one (and set individually the language of all other
entities) or not set any default language (and set individually the
language of all entities)
nicolas
Alexandre
> On Sep 14, 2015, at 6:49 AM, Usman Bhatti <usman.bhatti(a)gmail.com> wrote:
>
> Hi,
>
> I propose to change this:
>
> MoosModel>>sourceLanguage: aSymbol
> ^sourceLanguage := aSymbol
>
> by:
>
> MoosModel>>sourceLanguage: aSourceLanguage
> sourceLanguage := aSourceLanguage.
> sourceLanguage mooseModel: self
>
> So, that we don't have to remember to add manually the source language to the
model.
>
> Is it ok to do this change?
>
> usman
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev