public class TranslationResult extends GenericModel
Translation
listConstructor and Description |
---|
TranslationResult() |
Modifier and Type | Method and Description |
---|---|
int |
getCharacterCount()
Gets the character count.
|
List<Translation> |
getTranslations()
Gets the translations.
|
int |
getWordCount()
Gets the word count.
|
void |
setCharacterCount(int characterCount)
Sets the character count.
|
void |
setTranslations(List<Translation> translations)
Sets the translations.
|
void |
setWordCount(int wordCount)
Sets the word count.
|
equals, hashCode, toString
public int getCharacterCount()
public List<Translation> getTranslations()
public int getWordCount()
public void setCharacterCount(int characterCount)
characterCount
- The character countpublic void setTranslations(List<Translation> translations)
translations
- The translationspublic void setWordCount(int wordCount)
wordCount
- The word countCopyright © 2015–2016. All rights reserved.