|
|||||||||
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.BensonLemPos
public class BensonLemPos
A Benson word form (lemma and part of speech).
Benson word forms have the following attributes:
Benson lemma
.
Benson part of speech
.
Constructor Summary | |
---|---|
BensonLemPos()
Creates a new BensonLemPos 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. |
java.lang.Long |
getId()
Gets the unique id. |
BensonLemma |
getLemma()
Gets the lemma. |
BensonPos |
getPos()
Gets the part of speech. |
int |
hashCode()
Returns a hash code for the object. |
void |
setId(java.lang.Long id)
Sets the unique id. |
void |
setLemma(BensonLemma lemma)
Sets the lemma. |
void |
setPos(BensonPos pos)
Sets the part of speech. |
java.lang.String |
toString()
Gets a string representation of the BensonLemPos. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BensonLemPos()
Method Detail |
---|
public java.lang.Long getId()
getId
in interface PersistentObject
public void setId(java.lang.Long id)
id
- The unique id. public BensonLemma getLemma()
public void setLemma(BensonLemma lemma)
lemma
- The lemma. public BensonPos getPos()
public void setPos(BensonPos pos)
pos
- The part of speech. 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 BensonLemPos objects are equal if their lemmas and their parts of seppech 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 |