Package com.basistech.rosette.apimodel
Class NameTranslationRequest
java.lang.Object
com.basistech.rosette.apimodel.Request
com.basistech.rosette.apimodel.NameTranslationRequest
Request for name translation.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionNameTranslationRequest
(String profileId, String name, String entityType, com.basistech.util.ISO15924 sourceScript, com.basistech.util.LanguageCode sourceLanguageOfOrigin, com.basistech.util.LanguageCode sourceLanguageOfUse, com.basistech.util.LanguageCode targetLanguage, com.basistech.util.ISO15924 targetScript, com.basistech.util.TransliterationScheme targetScheme) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
getName()
com.basistech.util.LanguageCode
com.basistech.util.LanguageCode
com.basistech.util.ISO15924
com.basistech.util.LanguageCode
com.basistech.util.TransliterationScheme
com.basistech.util.ISO15924
int
hashCode()
toString()
Methods inherited from class com.basistech.rosette.apimodel.Request
getProfileId, setProfileId
-
Constructor Details
-
NameTranslationRequest
public NameTranslationRequest(String profileId, String name, String entityType, com.basistech.util.ISO15924 sourceScript, com.basistech.util.LanguageCode sourceLanguageOfOrigin, com.basistech.util.LanguageCode sourceLanguageOfUse, com.basistech.util.LanguageCode targetLanguage, com.basistech.util.ISO15924 targetScript, com.basistech.util.TransliterationScheme targetScheme)
-
-
Method Details
-
builder
-
getName
- Returns:
- the name to be translated
-
getEntityType
- Returns:
- the entity type of the name
-
getSourceScript
public com.basistech.util.ISO15924 getSourceScript()- Returns:
- code for the name's script
-
getSourceLanguageOfOrigin
public com.basistech.util.LanguageCode getSourceLanguageOfOrigin()- Returns:
- code for the name's language of origin
-
getSourceLanguageOfUse
public com.basistech.util.LanguageCode getSourceLanguageOfUse()- Returns:
- code for the name's language of use
-
getTargetLanguage
public com.basistech.util.LanguageCode getTargetLanguage()- Returns:
- code for the language to translate to
-
getTargetScript
public com.basistech.util.ISO15924 getTargetScript()- Returns:
- code for the target script
-
getTargetScheme
public com.basistech.util.TransliterationScheme getTargetScheme()- Returns:
- the transliteration scheme for the translation
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-