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

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

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

Total counts of phrase forms in a phrase set.

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

See Also:
Serialized Form

Constructor Summary
PhraseSetTotalWordFormPhraseCount()
          Create an empty phrase set word form count object.
PhraseSetTotalWordFormPhraseCount(int wordForm, PhraseSet phraseSet, java.lang.String workPartTag, int wordFormCount)
          Create a populated total word form count object.
 
Method Summary
 java.lang.Long getId()
          Get the persistence id.
 PhraseSet getPhraseSet()
          Get the phrase set.
 int getWordForm()
          Get the word form.
 int getWordFormCount()
          Get the word form count in the phrase 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

PhraseSetTotalWordFormPhraseCount

public PhraseSetTotalWordFormPhraseCount()
Create an empty phrase set word form count object.


PhraseSetTotalWordFormPhraseCount

public PhraseSetTotalWordFormPhraseCount(int wordForm,
                                         PhraseSet phraseSet,
                                         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.

getPhraseSet

public PhraseSet getPhraseSet()
Get the phrase set.

Returns:
The phrase 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 phrase set.

Returns:
The word form count in the phrase 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.