Package se.conciliate.extensions.store
Interface MTLanguageHeader
- All Known Subinterfaces:
MTLanguage
public interface MTLanguageHeader
Header interface for languages. Each repository has a set of
languages (one or more) which models, symbols, documents etc. can
be edited in.
- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionexpand()
Returns aMTLanguage
for this language.long
getID()
Returns the ID of the language.Returns the locale used for this language.getTitle()
Returns the title of the language.getUUID()
Returns the UUID of the language.boolean
Checks if the language is the default language in the repository.
-
Method Details
-
getID
long getID()Returns the ID of the language.- Returns:
- The ID of the language.
- Since:
- 3.0
-
getUUID
String getUUID()Returns the UUID of the language.- Returns:
- The UUID of the language.
- Since:
- 3.0
-
getTitle
String getTitle()Returns the title of the language.- Returns:
- The title of the language.
- Since:
- 3.0
-
getLocale
MTLocale getLocale()Returns the locale used for this language. -
isDefaultLanguage
boolean isDefaultLanguage()Checks if the language is the default language in the repository.- Returns:
true
if the language is the default language,false
otherwise.- Since:
- 3.0
-
expand
Returns aMTLanguage
for this language. Beware that this might require querying the storage layer for more data.- Returns:
- A
MTLanguage
representing this language. - Throws:
MTAccessException
- Since:
- 3.0
-