Package com.werkii.planning.ejb.gui
Class Translation
- java.lang.Object
-
- com.werkii.planning.ejb.gui.Translation
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated public class Translation extends java.lang.Object implements java.io.SerializableDeprecated.This class has been replaced by
List of translations for a key.Translation. The com.werkii.planning.ejb.gui package and all it's classes will be removed in PublishingServer 2024/2Exposes a fluid interface.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Translation()Deprecated.Translation(java.lang.String identifier, java.util.List<Entry> entries)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TranslationaddEntry(Entry entry)Deprecated.Add a translation entry for the key.TranslationaddEntry(java.lang.String lang, java.lang.String value)Deprecated.Add a translation entry for the key.java.util.List<Entry>getEntries()Deprecated.Get all localized values for the key.java.lang.StringgetIdentifier()Deprecated.Get the key for the translations.TranslationsetEntries(java.util.List<Entry> entries)Deprecated.Set the localized values for the key.TranslationsetIdentifier(java.lang.String identifier)Deprecated.Set the key for the translations.java.lang.StringtoString()Deprecated.
-
-
-
Constructor Detail
-
Translation
public Translation()
Deprecated.
-
Translation
public Translation(java.lang.String identifier, java.util.List<Entry> entries)Deprecated.
-
-
Method Detail
-
getIdentifier
public java.lang.String getIdentifier()
Deprecated.Get the key for the translations.- Returns:
-
setIdentifier
public Translation setIdentifier(java.lang.String identifier)
Deprecated.Set the key for the translations.- Parameters:
identifier-- Returns:
- Translation for chaining.
-
getEntries
public java.util.List<Entry> getEntries()
Deprecated.Get all localized values for the key.- Returns:
-
setEntries
public Translation setEntries(java.util.List<Entry> entries)
Deprecated.Set the localized values for the key.- Parameters:
entries-- Returns:
- Translation for chaining.
-
addEntry
public Translation addEntry(Entry entry)
Deprecated.Add a translation entry for the key.- Parameters:
entry-- Returns:
- Translation for chaining.
-
addEntry
public Translation addEntry(java.lang.String lang, java.lang.String value)
Deprecated.Add a translation entry for the key.- Parameters:
lang- language of the new entryvalue- value of the new entry- Returns:
- Translation for chaining.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-