Class TranslatedTokens

java.lang.Object
com.basistech.rosette.dm.BaseAttribute
com.basistech.rosette.dm.TranslatedTokens
All Implemented Interfaces:
Serializable

public class TranslatedTokens extends BaseAttribute implements Serializable
A list of translations for the tokens. Each translation matches the corresponding token.
See Also:
  • Constructor Details

    • TranslatedTokens

      protected TranslatedTokens(com.basistech.util.TextDomain domain, List<String> translations, Map<String,Object> extendedProperties)
  • Method Details

    • getDomain

      public com.basistech.util.TextDomain getDomain()
      Returns the domain for this object.
      Returns:
      the domain for this object
    • getTranslations

      public List<String> getTranslations()
      Returns the translations for this object.
      Returns:
      the translations for this object
    • toStringHelper

      protected com.google.common.base.MoreObjects.ToStringHelper toStringHelper()
      Overrides:
      toStringHelper in class BaseAttribute