public class TranslationResultImpl extends Object implements TranslationResult
| Modifier and Type | Field and Description |
|---|---|
static int |
UNKNOWN_RATING |
| Constructor and Description |
|---|
TranslationResultImpl(String translation,
String sourceLang,
String targetLang,
TranslationConstants.ContentType contentType,
String category,
String source,
int rating,
String userId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCategory()
Gets the category.
|
TranslationConstants.ContentType |
getContentType()
Gets the content type.
|
int |
getRating()
Gets the rating.
|
String |
getSourceLanguage()
Gets the source language.
|
String |
getSourceString()
Gets the source string.
|
String |
getTargetLanguage()
Gets the target language.
|
String |
getTranslation()
Gets the translation.
|
String |
getUserId()
Gets the user id.
|
public String getTranslation()
TranslationResultgetTranslation in interface TranslationResultpublic String getSourceLanguage()
TranslationResultgetSourceLanguage in interface TranslationResultpublic String getTargetLanguage()
TranslationResultgetTargetLanguage in interface TranslationResultpublic TranslationConstants.ContentType getContentType()
TranslationResultgetContentType in interface TranslationResultpublic String getCategory()
TranslationResultgetCategory in interface TranslationResultpublic String getSourceString()
TranslationResultgetSourceString in interface TranslationResultpublic int getRating()
TranslationResultgetRating in interface TranslationResultpublic String getUserId()
TranslationResultgetUserId in interface TranslationResultCopyright © 2010 - 2020 Adobe. All Rights Reserved