public class Concept extends Object implements Serializable
Constructor and Description |
---|
Concept()
Constructor.
|
Concept(String conceptId,
String partOfSpeech,
Lemma[] synset,
Gloss[] glosses,
String[] relation)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object value) |
String |
getConceptId()
Gets concept ID.
|
Gloss[] |
getGlosses()
Gets the concept's explanation text.
|
String |
getPartOfSpeech()
Gets the part of speech of synset.
|
String[] |
getRelations()
Gets relations associated with other concepts.
|
Lemma[] |
getSynset()
Gets the set of synonyms that are to be the concept headword(s).
|
int |
hashCode() |
void |
setConceptId(String conceptId)
Sets concept ID.
|
void |
setGlosses(Gloss[] glosses)
Sets the concept's explanation text.
|
void |
setPartOfSpeech(String partOfSpeech)
Sets the part of speech of synset.
|
void |
setRelations(String[] relations)
Sets relations associated with other concepts.
|
void |
setSynset(Lemma[] synset)
Sets the set of synonyms that are to be the concept headword(s).
|
String |
toString() |
public Concept()
public Concept(String conceptId, String partOfSpeech, Lemma[] synset, Gloss[] glosses, String[] relation)
conceptId
- Concept IDpartOfSpeech
- Part of speech of synsetsynset
- Set of synonyms that is a concept headwordglosses
- Concept explanationrelation
- Relation related with another conceptpublic String getConceptId()
public Gloss[] getGlosses()
public String getPartOfSpeech()
public String[] getRelations()
public Lemma[] getSynset()
public void setConceptId(String conceptId)
conceptId
- Concept IDpublic void setGlosses(Gloss[] glosses)
glosses
- Concept explanationpublic void setPartOfSpeech(String partOfSpeech)
partOfSpeech
- Part of speech of synsetpublic void setRelations(String[] relations)
relations
- Relations related with another conceptpublic void setSynset(Lemma[] synset)
synset
- Set of synonyms