public class CustomWord
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
CustomWord.PartOfSpeech
**Japanese only.** The part of speech for the word.
|
Constructor and Description |
---|
CustomWord() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPartOfSpeech()
Gets the partOfSpeech.
|
java.lang.String |
getTranslation()
Gets the translation.
|
java.lang.String |
getWord()
Gets the word.
|
void |
setPartOfSpeech(java.lang.String partOfSpeech)
Sets the partOfSpeech.
|
void |
setTranslation(java.lang.String translation)
Sets the translation.
|
void |
setWord(java.lang.String word)
Sets the word.
|
public java.lang.String getWord()
public java.lang.String getTranslation()
public java.lang.String getPartOfSpeech()
public void setWord(java.lang.String word)
word
- the new wordpublic void setTranslation(java.lang.String translation)
translation
- the new translationpublic void setPartOfSpeech(java.lang.String partOfSpeech)
partOfSpeech
- the new partOfSpeech