Package com.e1c.langtool.external.cache
Class TranslationResultEntity
java.lang.Object
com.e1c.langtool.external.cache.TranslationResultEntity
- All Implemented Interfaces:
Serializable
This class encapsulates a result of translation.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an empty translation result.TranslationResultEntity(String translation) Creates a new translation result from only one translation string.TranslationResultEntity(List<String> translations) Creates a new translation result from list of possible translations. -
Method Summary
-
Constructor Details
-
TranslationResultEntity
Creates a new translation result from list of possible translations.- Parameters:
translations- the list of possible translations
-
TranslationResultEntity
Creates a new translation result from only one translation string.- Parameters:
translation- the only one possible translation
-
TranslationResultEntity
public TranslationResultEntity()Creates an empty translation result.
-
-
Method Details