The existing VO LexicalItem should not extends Keyword any more since VO LexicalItem is used for representation in the final REST API response, where the LexicalItem.language has to be String other than Locale
extra TODO
rename LexicalItem to LexicalItemDTO on base of the EAA book of Martin Fowler and in this new LexicalItemDTO there should be a gettergetLanguageTag()
The existing VO
LexicalItem
should not extendsKeyword
any more since VOLexicalItem
is used for representation in the final REST API response, where theLexicalItem.language
has to beString
other thanLocale
extra TODO
LexicalItem
toLexicalItemDTO
on base of the EAA book of Martin Fowler and in this newLexicalItemDTO
there should be a gettergetLanguageTag()