|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.wordhoard.model.morphology.LemPos
public class LemPos
A word form (lemma and part of speech).
Word forms have the following attributes:
lemma
.
part of speech
.
Constructor Summary | |
---|---|
LemPos()
Creates a new LemPos object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Returns true if some other object is equal to this one. |
void |
export(TableExporterImporter exporterImporter)
Exports the object to a MySQL table exporter/importer. |
void |
getGroupingObjects(java.lang.Class groupBy,
java.util.List list)
Gets grouping objects. |
Spelling |
getGroupingSpelling(int numHits)
Gets the spelling of the LemPos. |
java.lang.Long |
getId()
Gets the unique id. |
Lemma |
getLemma()
Gets the lemma. |
Pos |
getPos()
Gets the part of speech. |
SearchCriterion |
getSearchDefault(java.lang.Class cls)
Gets a search criterion default value. |
Spelling |
getStandardSpelling()
Gets the standard spelling. |
int |
hashCode()
Returns a hash code for the object. |
void |
setId(java.lang.Long id)
Sets the unique id. |
void |
setLemma(Lemma lemma)
Sets the lemma. |
void |
setPos(Pos pos)
Sets the part of speech. |
void |
setStandardSpelling(Spelling standardSpelling)
Sets the standard spelling. |
java.lang.String |
toString()
Gets a string representation of the LemPos. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LemPos()
Method Detail |
---|
public java.lang.Long getId()
getId
in interface PersistentObject
public void setId(java.lang.Long id)
id
- The unique id. public Spelling getStandardSpelling()
public void setStandardSpelling(Spelling standardSpelling)
standardSpelling
- The standard spelling. public Lemma getLemma()
public void setLemma(Lemma lemma)
lemma
- The lemma. public Pos getPos()
public void setPos(Pos pos)
pos
- The part of speech. public SearchCriterion getSearchDefault(java.lang.Class cls)
getSearchDefault
in interface SearchDefaults
cls
- Model class of search criterion.
public void getGroupingObjects(java.lang.Class groupBy, java.util.List list)
groupBy
- Grouping class.list
- A list. The grouping objects are appended
to this list. public Spelling getGroupingSpelling(int numHits)
numHits
- Number of hits.
public java.lang.String toString()
toString
in class java.lang.Object
public void export(TableExporterImporter exporterImporter)
exporterImporter
- MySQL table exporter/importer. public boolean equals(java.lang.Object obj)
The two LemPos objects are equal if their lemmas and parts of speech are equal.
equals
in class java.lang.Object
obj
- The other object.
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |