Annotation Type EdmDescriptionAssoziation


@Target(FIELD) @Retention(RUNTIME) @Inherited public @interface EdmDescriptionAssoziation
Marks an association to an entity that contains a language/locale dependent description of a coded value. E.g the Association to a country name for an attribute containing the country iso code.

The association shall be annotated as OneToOne or OneToMany (as the key is not completely given), insertable = false and updatable = false. It is mapped to a property with the name of the association

One and only one of the fields of LanguageAttribute - LocaleAttribute has to be filled. To ensure that, in case multiple descriptions are available, the right one the chosen the Description Attribute has to be named

Author:
Oliver Grande