|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.tudarmstadt.ukp.jwktl.api.entry.WiktionaryWordForm
@Persistent public class WiktionaryWordForm
Implementation of the IWiktionaryWordForm
interface. Instances
of this class represent inflected word forms.
Field Summary | |
---|---|
protected GrammaticalAspect |
grammaticalAspect
|
protected GrammaticalCase |
grammaticalCase
|
protected GrammaticalDegree |
grammaticalDegree
|
protected GrammaticalMood |
grammaticalMood
|
protected GrammaticalNumber |
grammaticalNumber
|
protected GrammaticalPerson |
grammaticalPerson
|
protected GrammaticalTense |
grammaticalTense
|
protected NonFiniteForm |
nonFiniteForm
|
protected String |
wordForm
|
Constructor Summary | |
---|---|
WiktionaryWordForm()
Instanciates a new, empty word form. |
|
WiktionaryWordForm(String wordForm)
Instanciates a new word form with the given written form. |
Method Summary | |
---|---|
GrammaticalAspect |
getAspect()
Returns the GrammaticalAspect of this word form or
null if no aspect is specified or applicable. |
GrammaticalCase |
getCase()
Returns the GrammaticalCase of this word form or
null if no case is specified or applicable. |
GrammaticalDegree |
getDegree()
Returns the GrammaticalDegree of this word form or
null if no degree is specified or applicable. |
GrammaticalMood |
getMood()
Returns the GrammaticalMood of this word form or
null if no mood is specified or applicable. |
NonFiniteForm |
getNonFiniteForm()
Returns the NonFiniteForm type of this word form or
null if no type is specified or applicable. |
GrammaticalNumber |
getNumber()
Returns the GrammaticalNumber of this word form or
null if no number is specified or applicable. |
GrammaticalPerson |
getPerson()
Returns the GrammaticalPerson of this word form or
null if no person is specified or applicable. |
GrammaticalTense |
getTense()
Returns the GrammaticalTense of this word form or
null if no tense is specified or applicable. |
String |
getWordForm()
Returns the word form or null if no such word form
exists (but specified). |
void |
setAspect(GrammaticalAspect grammaticalAspect)
Assign the given grammatical aspect to this word form. |
void |
setCase(GrammaticalCase grammaticalCase)
Assign the given grammatical case to this word form. |
void |
setDegree(GrammaticalDegree grammaticalDegree)
Assign the given grammatical degree to this word form. |
void |
setMood(GrammaticalMood grammaticalMood)
Assign the given grammatical mood to this word form. |
void |
setNonFiniteForm(NonFiniteForm nonFiniteForm)
Assign the given type of non finite word form. |
void |
setNumber(GrammaticalNumber grammaticalNumber)
Assign the given grammatical number to this word form. |
void |
setPerson(GrammaticalPerson grammaticalPerson)
Assign the given grammatical person to this word form. |
void |
setTense(GrammaticalTense grammaticalTense)
Assign the given grammatical tense to this word form. |
void |
setWordForm(String wordForm)
Assign the given written form to this instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String wordForm
protected GrammaticalNumber grammaticalNumber
protected GrammaticalCase grammaticalCase
protected GrammaticalPerson grammaticalPerson
protected GrammaticalTense grammaticalTense
protected GrammaticalMood grammaticalMood
protected GrammaticalDegree grammaticalDegree
protected GrammaticalAspect grammaticalAspect
protected NonFiniteForm nonFiniteForm
Constructor Detail |
---|
public WiktionaryWordForm()
public WiktionaryWordForm(String wordForm)
Method Detail |
---|
public String getWordForm()
IWiktionaryWordForm
null
if no such word form
exists (but specified). An example for the latter is the English noun
"information", which does not have a plural form.
getWordForm
in interface IWiktionaryWordForm
public void setWordForm(String wordForm)
public GrammaticalNumber getNumber()
IWiktionaryWordForm
GrammaticalNumber
of this word form or
null
if no number is specified or applicable.
getNumber
in interface IWiktionaryWordForm
public void setNumber(GrammaticalNumber grammaticalNumber)
public GrammaticalCase getCase()
IWiktionaryWordForm
GrammaticalCase
of this word form or
null
if no case is specified or applicable.
getCase
in interface IWiktionaryWordForm
public void setCase(GrammaticalCase grammaticalCase)
public GrammaticalPerson getPerson()
IWiktionaryWordForm
GrammaticalPerson
of this word form or
null
if no person is specified or applicable.
getPerson
in interface IWiktionaryWordForm
public void setPerson(GrammaticalPerson grammaticalPerson)
public GrammaticalTense getTense()
IWiktionaryWordForm
GrammaticalTense
of this word form or
null
if no tense is specified or applicable.
getTense
in interface IWiktionaryWordForm
public void setTense(GrammaticalTense grammaticalTense)
public GrammaticalMood getMood()
IWiktionaryWordForm
GrammaticalMood
of this word form or
null
if no mood is specified or applicable.
getMood
in interface IWiktionaryWordForm
public void setMood(GrammaticalMood grammaticalMood)
public GrammaticalDegree getDegree()
IWiktionaryWordForm
GrammaticalDegree
of this word form or
null
if no degree is specified or applicable.
getDegree
in interface IWiktionaryWordForm
public void setDegree(GrammaticalDegree grammaticalDegree)
public GrammaticalAspect getAspect()
IWiktionaryWordForm
GrammaticalAspect
of this word form or
null
if no aspect is specified or applicable.
getAspect
in interface IWiktionaryWordForm
public void setAspect(GrammaticalAspect grammaticalAspect)
public NonFiniteForm getNonFiniteForm()
IWiktionaryWordForm
NonFiniteForm
type of this word form or
null
if no type is specified or applicable.
getNonFiniteForm
in interface IWiktionaryWordForm
public void setNonFiniteForm(NonFiniteForm nonFiniteForm)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |