|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.wordhoard.model.wrappers.Prosodic
public class Prosodic
A prosodic attribute wrapper.
Field Summary | |
---|---|
static byte |
NUM_PROSODIC
Number of prosodic attributes. |
static byte |
PROSE
Prose. |
static byte |
UNKNOWN
Prosodic attribute unknown. |
static byte |
VERSE
Verse. |
Constructor Summary | |
---|---|
Prosodic()
Creates a new prosodic attribute wrapper. |
|
Prosodic(byte prosodic)
Creates a new prosodic attribute wrapper. |
Method Summary | |
---|---|
void |
appendDescription(TextLine line,
FontInfo romanFontInfo,
FontInfo[] fontInfo)
Appends a description to a text line. |
boolean |
equals(java.lang.Object obj)
Returns true if some other object is equal to this one. |
Spelling |
getGroupingSpelling(int numHits)
Gets the spelling of the grouping object. |
java.lang.Class |
getJoinClass()
Gets the join class. |
byte |
getProsodic()
Gets the prosodic attribute. |
java.lang.String |
getReportPhrase()
Gets the report phrase. |
java.lang.String |
getWhereClause()
Gets the Hibernate where clause. |
int |
hashCode()
Returns a hash code for the object. |
void |
setArg(org.hibernate.Query q,
org.hibernate.Session session)
Sets the Hibernate query argument. |
java.lang.String |
toString()
Returns a string representation of the prosodic attribute. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final byte PROSE
public static final byte VERSE
public static final byte UNKNOWN
public static final byte NUM_PROSODIC
Constructor Detail |
---|
public Prosodic()
public Prosodic(byte prosodic)
prosodic
- The prosodic attribute. Method Detail |
---|
public byte getProsodic()
public java.lang.Class getJoinClass()
getJoinClass
in interface SearchCriterion
public java.lang.String getWhereClause()
getWhereClause
in interface SearchCriterion
public void setArg(org.hibernate.Query q, org.hibernate.Session session)
setArg
in interface SearchCriterion
q
- Hibernate query.session
- Hibernate session. public void appendDescription(TextLine line, FontInfo romanFontInfo, FontInfo[] fontInfo)
appendDescription
in interface SearchCriterion
line
- Text line.romanFontInfo
- Roman font info.fontInfo
- Array of font info indexed by character
set. public java.lang.String getReportPhrase()
getReportPhrase
in interface GroupingObject
public Spelling getGroupingSpelling(int numHits)
getGroupingSpelling
in interface GroupingObject
numHits
- Number of hits.
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in interface GroupingObject
equals
in class java.lang.Object
obj
- The other object.
public int hashCode()
hashCode
in interface GroupingObject
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |