edu.northwestern.at.wordhoard.model.userdata
Class WordSetTotalWordFormCount

java.lang.Object
  extended by edu.northwestern.at.wordhoard.model.userdata.WordSetTotalWordFormCount
All Implemented Interfaces:
PersistentObject, java.io.Serializable

public class WordSetTotalWordFormCount
extends java.lang.Object
implements java.io.Serializable, PersistentObject

Total counts of word forms in a word set.

A word set total word form count entry contains the following:

See Also:
Serialized Form

Constructor Summary
WordSetTotalWordFormCount()
          Create an empty work word form count object.
WordSetTotalWordFormCount(int wordForm, WordSet wordSet, java.lang.String workPartTag, 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 word set.
 WordSet getWordSet()
          Get the word set.
 java.lang.String getWorkPartTag()
          Get the work.
 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

WordSetTotalWordFormCount

public WordSetTotalWordFormCount()
Create an empty work word form count object.


WordSetTotalWordFormCount

public WordSetTotalWordFormCount(int wordForm,
                                 WordSet wordSet,
                                 java.lang.String workPartTag,
                                 int wordFormCount)
Create a populated total word form count object.

Method Detail

getId

public java.lang.Long getId()
Get the persistence id.

Specified by:
getId in interface PersistentObject
Returns:
The persistence id.

getWordForm

public int getWordForm()
Get the word form.

Returns:
The word form type.

getWordSet

public WordSet getWordSet()
Get the word set.

Returns:
The word set.

getWorkPartTag

public java.lang.String getWorkPartTag()
Get the work.

Returns:
The work tag.

getWordFormCount

public int getWordFormCount()
Get the word form count in the word set.

Returns:
The word form count in the word set.

toString

public java.lang.String toString()
Return string form of this entry.

Overrides:
toString in class java.lang.Object
Returns:
The word form text.