public class SynonymResult extends Object
| Constructor and Description |
|---|
SynonymResult() |
| Modifier and Type | Method and Description |
|---|---|
String |
getHeadword()
Gets the headword.
|
List<Synonym> |
getSynonyms()
Gets the synonyms.
|
String |
getTrait()
Gets the trait.
|
void |
setHeadword(String headword)
Sets the headword.
|
void |
setSynonyms(List<Synonym> synonyms)
Sets the synonyms.
|
void |
setTrait(String trait)
Sets the trait.
|
String |
toString() |
SynonymResult |
withHeadword(String headword)
With headword.
|
SynonymResult |
withSynonyms(List<Synonym> synonyms)
With synonyms.
|
SynonymResult |
withTrait(String trait)
With trait.
|
public String getTrait()
public void setTrait(String trait)
trait - The traitpublic SynonymResult withTrait(String trait)
trait - the traitpublic String getHeadword()
public void setHeadword(String headword)
headword - The headwordpublic SynonymResult withHeadword(String headword)
headword - the headwordpublic void setSynonyms(List<Synonym> synonyms)
synonyms - The synonymspublic SynonymResult withSynonyms(List<Synonym> synonyms)
synonyms - the synonymsCopyright © 2015. All rights reserved.