Class MessageValue
java.lang.Object
io.goobi.viewer.model.translations.admin.MessageValue
Language + translation pair.
-
Constructor Details
-
MessageValue
- Parameters:
language- Language codevalue- the translation value for this languageglobalValue- the global/fallback translation value
-
-
Method Details
-
isDirty
public boolean isDirty()- Returns:
- true if
valuehas been changed so that it no longer matchesloadedValue; false otherwise
-
resetDirtyStatus
public void resetDirtyStatus() -
isDisplayGlobalValue
public boolean isDisplayGlobalValue()- Returns:
- true if
globalValueis 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
-
getGlobalValue
-
getValue
-
setValue
-
getLoadedValue
-