Class MessageValue
java.lang.Object
io.goobi.viewer.model.translations.admin.MessageValue
Language + translation pair.
-
Constructor Details
-
MessageValue
- Parameters:
language
- Language codevalue
-globalValue
-
-
-
Method Details
-
isDirty
public boolean isDirty()- Returns:
- true if
value
has been changed so that it no longer matchesloadedValue
; false otherwise
-
resetDirtyStatus
public void resetDirtyStatus() -
isDisplayGlobalValue
public boolean isDisplayGlobalValue()- Returns:
- true if
globalValue
is set but doesn't equalvalue
; false otherwise
-
isDisplayHighlight
public boolean isDisplayHighlight()- Returns:
- true if value is null or empty or contains 'zzz'; false otherwise
-
getTranslationStatus
- Returns:
- Translation status of this value
-
getLanguage
- Returns:
- the language
-
getGlobalValue
- Returns:
- the globalValue
-
getValue
- Returns:
- the value
-
setValue
- Parameters:
value
- the value to set
-
getLoadedValue
- Returns:
- the loadedValue
-