|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Word.Grammar
This subclass of word is needed to save all the grammatical information of a word. The information is mainly used for generating a word (nomen, adjectives, etc)
Field Summary | |
private int |
genus
|
private int |
info
|
private int |
kasus
|
private int |
person
|
private int |
tempus
|
Constructor Summary | |
(package private) |
Word.Grammar()
The Grammar() constructor initiates the variables as empty. |
Method Summary | |
int |
getGenus()
|
int |
getInfo()
|
int |
getKasus()
|
int |
getPerson()
|
int |
getTempus()
|
void |
set(int person)
used to set the grammatic person (the values are stated in the Cons Class) |
void |
set(int person,
int kasus)
used to set the grammatic person and kasus (the values are stated in the Cons Class) |
void |
set(int person,
int kasus,
int genus)
used to set the grammatic person, kasus and genus (the values are stated in the Cons Class) |
void |
set(int person,
int kasus,
int genus,
int info)
used to set the grammatic person, kasus, genus and additional information (the values are stated in the Cons Class) |
void |
setGenus(int genus)
set the grammatical information genus |
void |
setInfo(int info)
set the grammatical information info |
void |
setKasus(int kasus)
set the grammatical information kasus |
void |
setPerosn(int person)
set the grammatical information person |
void |
setTempus(int tempus)
set the grammatical information tempus |
void |
setVerb(int person,
int tempus,
int info)
used to set grammatical information for a verb |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int genus
private int info
private int kasus
private int person
private int tempus
Constructor Detail |
Word.Grammar()
Method Detail |
public int getGenus()
public int getInfo()
public int getKasus()
public int getPerson()
public int getTempus()
public void set(int person)
person
- (possible values: SG1, SG2P, PLURAL, etc)public void set(int person, int kasus)
person
- (possible values: SG1, SG2P, PLURAL, etc)kasus
- (possible values: NOM; GEN; DAT; AKK)public void set(int person, int kasus, int genus)
person
- (possible values: SG1, SG2P, PLURAL, etc)kasus
- (possible values: NOM; GEN; DAT; AKK)genus
- (possible values: MASKULIN, FEMININ; NEUTRUM)public void set(int person, int kasus, int genus, int info)
person
- (possible values: SG1, SG2P, PLURAL, etc)kasus
- (possible values: NOM; GEN; DAT; AKK)genus
- (possible values: MASKULIN, FEMININ; NEUTRUM)info
- (possible values: DIMINUTIV, etc)public void setGenus(int genus)
genus
- (possible values: MASKULIN, FEMININ; NEUTRUM)public void setInfo(int info)
info
- (possible values: DIMINUTIV, FPLURAL, A1, A2, etc)public void setKasus(int kasus)
kasus
- (possible values: NOM; GEN; DAT; AKK)public void setPerosn(int person)
person
- (possible values: SG1, SG2P, PLURAL, etc)public void setTempus(int tempus)
tempus
- (possible values: PRESENT; PAST; KONJ1, etc)public void setVerb(int person, int tempus, int info)
person
- (possible values: SG1, SG2P, PLURAL, etc)tempus
- (possible values: PRESENT, PAST)info
- (possible values: A1, A2, etc - i.e. declination classes)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |