Class Translation

java.lang.Object
com.werkii.planning.ejb.gui.Translation
All Implemented Interfaces:
Serializable

@Deprecated public class Translation extends Object implements Serializable
Deprecated.

This class has been replaced by Translation. The com.werkii.planning.ejb.gui package and all it's classes will be removed in PublishingServer 2024/2

List of translations for a key.

Exposes a fluid interface.

See Also:
  • Constructor Details

    • Translation

      public Translation()
      Deprecated.
    • Translation

      public Translation(String identifier, List<Entry> entries)
      Deprecated.
  • Method Details

    • getIdentifier

      public String getIdentifier()
      Deprecated.
      Get the key for the translations.
      Returns:
    • setIdentifier

      public Translation setIdentifier(String identifier)
      Deprecated.
      Set the key for the translations.
      Parameters:
      identifier -
      Returns:
      Translation for chaining.
    • getEntries

      public List<Entry> getEntries()
      Deprecated.
      Get all localized values for the key.
      Returns:
    • setEntries

      public Translation setEntries(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(String lang, String value)
      Deprecated.
      Add a translation entry for the key.
      Parameters:
      lang - language of the new entry
      value - value of the new entry
      Returns:
      Translation for chaining.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object