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 TypeMethodDescriptionbooleanTwo Translations are equal if they are of the same class and both tag and language matchgetOwner()inthashCode()Hash code is build from hashCode of languagevoidsetOwner(MaintenanceMode owner) static voidsetTranslation(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:
hashCodein classTranslation
-
equals
Two Translations are equal if they are of the same class and both tag and language match- Overrides:
equalsin classTranslation
-