Class MaintenanceModeTranslation
java.lang.Object
io.goobi.viewer.model.translations.Translation
io.goobi.viewer.model.administration.MaintenanceModeTranslation
-
Field Summary
Fields inherited from class io.goobi.viewer.model.translations.Translation
id, language, tag, translationValue
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.MaintenanceModeTranslation
(String language, String tag, String value, MaintenanceMode owner) Constructor for MaintenanceModeTranslation. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Two Translations are equal if they are of the same class and both tag and language matchgetOwner()
int
hashCode()
Hash code is build from hashCode of languagevoid
setOwner
(MaintenanceMode owner) static void
setTranslation
(List<MaintenanceModeTranslation> translations, String lang, String value, String tag, MaintenanceMode owner) setTranslation.Methods inherited from class io.goobi.viewer.model.translations.Translation
getId, getLanguage, getTag, getTranslation, getTranslation, getTranslationValue, isEmpty, setId, setLanguage, setTag, setTranslation, setTranslationValue, toString
-
Constructor Details
-
Method Details
-
setTranslation
public static void setTranslation(List<MaintenanceModeTranslation> translations, String lang, String value, String tag, MaintenanceMode owner) setTranslation.
-
getOwner
- Returns:
- the owner
-
setOwner
- Parameters:
owner
- the owner to set
-
hashCode
public int hashCode()Hash code is build from hashCode of language- Overrides:
hashCode
in classTranslation
-
equals
Two Translations are equal if they are of the same class and both tag and language match- Overrides:
equals
in classTranslation
-