public class TranslationResultImpl extends java.lang.Object implements TranslationResult
Modifier and Type | Field and Description |
---|---|
static int |
UNKNOWN_RATING |
Constructor and Description |
---|
TranslationResultImpl(java.lang.String translation,
java.lang.String sourceLang,
java.lang.String targetLang,
TranslationConstants.ContentType contentType,
java.lang.String category,
java.lang.String source,
int rating,
java.lang.String userId) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCategory()
Gets the category.
|
TranslationConstants.ContentType |
getContentType()
Gets the content type.
|
int |
getRating()
Gets the rating.
|
java.lang.String |
getSourceLanguage()
Gets the source language.
|
java.lang.String |
getSourceString()
Gets the source string.
|
java.lang.String |
getTargetLanguage()
Gets the target language.
|
java.lang.String |
getTranslation()
Gets the translation.
|
java.lang.String |
getUserId()
Gets the user id.
|
public TranslationResultImpl(java.lang.String translation, java.lang.String sourceLang, java.lang.String targetLang, TranslationConstants.ContentType contentType, java.lang.String category, java.lang.String source, int rating, java.lang.String userId)
public java.lang.String getTranslation()
TranslationResult
getTranslation
in interface TranslationResult
public java.lang.String getSourceLanguage()
TranslationResult
getSourceLanguage
in interface TranslationResult
public java.lang.String getTargetLanguage()
TranslationResult
getTargetLanguage
in interface TranslationResult
public TranslationConstants.ContentType getContentType()
TranslationResult
getContentType
in interface TranslationResult
public java.lang.String getCategory()
TranslationResult
getCategory
in interface TranslationResult
public java.lang.String getSourceString()
TranslationResult
getSourceString
in interface TranslationResult
public int getRating()
TranslationResult
getRating
in interface TranslationResult
public java.lang.String getUserId()
TranslationResult
getUserId
in interface TranslationResult
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"