+1 to rename the instance variable to defaultLanguage
:)
2015-09-16 9:45 GMT+02:00 Fabrizio Perin <fabrizio.perin(a)gmail.com>om>:
+1
2015-09-15 11:08 GMT+02:00 stephan <stephan(a)stack.nl>nl>:
>
> On 15-09-15 10:42, Nicolas Anquetil wrote:
>>
>> 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)
>
> Thank you, that makes sense. Then I propose to rename the instance variable
> to defaultLanguage
> with accessors (and add the explanation in a method comment)
>
> Stephan
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch