Interface IProjectTranslationStorage.IGroupedTranslation

All Known Implementing Classes:
GroupedTranslation
Enclosing interface:
IProjectTranslationStorage

public static interface IProjectTranslationStorage.IGroupedTranslation
A translation result that contains the translated value and the number of translations which have been found by query and grouped by the translated value.

Note that grouped translation must not contain an empty result of translation, so getCount() method must return only positive values and getValue() must not return null.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the number of translations have been found by query with grouping by translated value.
    Returns the translated value.
  • Method Details

    • getCount

      long getCount()
      Returns the number of translations have been found by query with grouping by translated value.
      Returns:
      the number of translations (must be > 0)
    • getValue

      String getValue()
      Returns the translated value.
      Returns:
      the translated value. It can't be null.