public class Translation extends GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
Translation.PartOfSpeech
**Japanese only.** The part of speech for the word.
|
Constructor and Description |
---|
Translation() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPartOfSpeech()
Gets the partOfSpeech.
|
java.lang.String |
getTranslation()
Gets the translation.
|
void |
setPartOfSpeech(java.lang.String partOfSpeech)
Sets the partOfSpeech.
|
void |
setTranslation(java.lang.String translation)
Sets the translation.
|
equals, hashCode, toString
public java.lang.String getTranslation()
public java.lang.String getPartOfSpeech()
public void setTranslation(java.lang.String translation)
translation
- the new translationpublic void setPartOfSpeech(java.lang.String partOfSpeech)
partOfSpeech
- the new partOfSpeech