|
|||||||||
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.BensonPos
public class BensonPos
A Benson part of speech.
Benson parts of speech have the following attributes:
Constructor Summary | |
---|---|
BensonPos()
Creates a new Benson part of speech. |
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 |
getDescription()
Gets the description. |
java.lang.Long |
getId()
Gets the unique id. |
java.lang.String |
getTag()
Gets the tag. |
java.lang.String |
getTagWithDescription()
Gets the tag with the description (if available). |
int |
hashCode()
Returns a hash code for the object. |
void |
setDescription(java.lang.String description)
Sets the description. |
void |
setId(java.lang.Long id)
Sets the unique id. |
void |
setTag(java.lang.String tag)
Sets the tag. |
java.lang.String |
toString()
Gets a string representation of the Benson part of speech. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BensonPos()
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 getTag()
public void setTag(java.lang.String tag)
tag
- The tag. public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The description. public java.lang.String getTagWithDescription()
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 parts of speech 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 |