|
|||||||||
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.BensonLemma
public class BensonLemma
A Benson lemma.
Benson lemmas have the following attributes:
Constructor Summary | |
---|---|
BensonLemma()
Creates a new Benson lemma. |
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.String |
getComment()
Gets the comment. |
java.lang.String |
getDefinition()
Gets the definition. |
int |
getHomonym()
Gets the homonym. |
java.lang.Long |
getId()
Gets the unique id. |
java.lang.String |
getOedLemma()
Gets the OED lemma. |
java.lang.String |
getTag()
Gets the tag. |
java.lang.String |
getWord()
Gets the word. |
java.lang.String |
getWordClass()
Gets the word class. |
int |
hashCode()
Returns a hash code for the object. |
void |
setComment(java.lang.String comment)
Sets the comment. |
void |
setDefinition(java.lang.String definition)
Sets the definition. |
void |
setHomonym(int homonym)
Sets the homonym. |
void |
setId(java.lang.Long id)
Sets the unique id. |
void |
setOedLemma(java.lang.String oedLemma)
Sets the OED lemma. |
void |
setWord(java.lang.String word)
Sets the word. |
void |
setWordClass(java.lang.String wordClass)
Sets the word class. |
java.lang.String |
toString()
Gets a string representation of the Benson lemma. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BensonLemma()
Method Detail |
---|
public java.lang.Long getId()
getId
in interface PersistentObject
public void setId(java.lang.Long id)
id
- The unique id. public java.lang.String getWord()
public void setWord(java.lang.String word)
word
- The word. public java.lang.String getWordClass()
public void setWordClass(java.lang.String wordClass)
wordClass
- The word class. public int getHomonym()
public void setHomonym(int homonym)
homonym
- The homonym. public java.lang.String getDefinition()
public void setDefinition(java.lang.String definition)
definition
- The definition. public java.lang.String getComment()
public void setComment(java.lang.String comment)
comment
- The comment. public java.lang.String getOedLemma()
public void setOedLemma(java.lang.String oedLemma)
oedLemma
- The OED lemma. public java.lang.String getTag()
The tag is: word (wordClass) (homonym)
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 Benson lemmas are equal if their tags 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 |