Package io.goobi.viewer.model.cms
Class TranslatedSelectable<T>
java.lang.Object
io.goobi.viewer.model.cms.Selectable<T>
io.goobi.viewer.model.cms.TranslatedSelectable<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
Serializable
,Comparable<Selectable<T>>
- Direct Known Subclasses:
CategorizableTranslatedSelectable
A
Selectable
which may also hold a locale to indicate the currently visible language/translation- Author:
- florian
- See Also:
-
Constructor Summary
ConstructorDescriptionTranslatedSelectable
(T value, boolean selected, Locale defaultLocale) Constructor for TranslatedSelectable. -
Method Summary
Modifier and TypeMethodDescriptiongetLanguage.Getter for the fieldlocale
.void
setLanguage
(String language) setLanguage.void
Setter for the fieldlocale
.Methods inherited from class io.goobi.viewer.model.cms.Selectable
compareTo, equals, getValue, hashCode, isSelected, setSelected, toString
-
Constructor Details
-
TranslatedSelectable
Constructor for TranslatedSelectable.
- Parameters:
value
- a T object.selected
- a boolean.defaultLocale
- aLocale
object.
-
-
Method Details