|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.wordhoard.model.counts.TotalWordFormCount
public class TotalWordFormCount
Total counts of word forms in a work part.
A total word form count object contains the following fields:
WordForms
).WorkPart
to which this total pertains.Work
to which this work part belongs.Note that for LEMMA and WORDCLASS counts, the total count is equal to the number of word parts in the work part. For the other counts, the total count is equal to the number of words in the work part.
These count objects are used by the calculator.
Constructor Summary | |
---|---|
TotalWordFormCount()
Create an empty work word form count object. |
|
TotalWordFormCount(int wordForm,
WorkPart workPart,
Work work,
int wordFormCount)
Create a populated total word form count object. |
Method Summary | |
---|---|
java.lang.Long |
getId()
Get the persistence id. |
int |
getWordForm()
Get the word form. |
int |
getWordFormCount()
Get the word form count in the work part. |
WorkPart |
getWork()
Get the work. |
WorkPart |
getWorkPart()
Get the work part. |
java.lang.String |
toString()
Return string form of this entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TotalWordFormCount()
public TotalWordFormCount(int wordForm, WorkPart workPart, Work work, int wordFormCount)
Method Detail |
---|
public java.lang.Long getId()
getId
in interface PersistentObject
public int getWordForm()
public WorkPart getWorkPart()
public WorkPart getWork()
public int getWordFormCount()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |