Name of language of translation I am unhappy with my entity-relation-namings.

The underliyng tables are named TRANSLATION and LANGUAGE.

To contains translations like

German is German in English
Deutsch is German in German
English is English in English
Englisch is English in German


I have the table 

LANGUAGE
  ID (int pk)               &lt;-- 1,2,3, ...  
  LANGTAG (varchar)         &lt;-- en / de / fr / ...
TRANSLATION
  LOCAL_NAME (varchar 64)   &lt;-- German, Allemand, Deutsch, ...


Now I need relations between them. In the Entity i have both sides, the owning side and the non-owning-side.

I started using this relations:



You see two FKs:


Translates (getter in Translations) -> Translations (getter in Language)
Into language (getter in Translations) -> Language Translations (getter in Language)


But I inspect my Language-Entity now and see this:

private Set&lt;Translation&gt; translations = new LinkedHashSet&lt;&gt;();

@OneToMany(mappedBy = Translation.PROP_TRANSLATES)
public Set&lt;Translation&gt; getTranslations() {
    return translations;
}

public Language setTranslations(final Set&lt;Translation&gt; translations) {
    this.translations = translations;
    return this;
}

private Set&lt;Translation&gt; languageTranslations = new LinkedHashSet&lt;&gt;();

@OneToMany(mappedBy = Translation.PROP_INTO_LANGUAGE)
public Set&lt;Translation&gt; getLanguageTranslations() {
    return languageTranslations;
}

public Language setLanguageTranslations(final Set&lt;Translation&gt; languageTranslations) {
    this.languageTranslations = languageTranslations;
    return this;
}


I think the naming is problematic because I do not know what getter to use if I need the translations.

Intuitivly, to get the Languages that has been translated from German I use

Language german = entityManager.createCriteria("FROM Language WHERE langtag='de'");
Set&lt;Translations&gt; languagesInGerman = german.getLanguageTranslations();


The getter looks absolutly strange but I have no idea for a renaming!
(Proper answer from my comment in OP's question)

My proposal:

getLanguageNameInNativeLanguage

Other than that, there's a term for that: Endonym. See wiki: https://en.wikipedia.org/wiki/Exonym_and_endonym

Quote:
An endonym or autonym is an internal name for a geographical place, or a group of people, or a language or dialect.

For instance, "Germany" is the English language exonym, "Allemagne" is the French language exonym, and "Deutschland" is the endonym for the same country in Europe.

getLanguageEndonym() or something similar would look prettier, but a layman of the app doesn't understand it. If language is something important in the app, I would use the "academic" term.