|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The personal-pronoun category. In general, a personal-pronoun is used as participants of processes. For a personal-pronoun, at the very least, user has to specify whether it is first, second or third person and also whether it is plural. User can also set the gender of the pronoun. The person and the gender of the pronoun can be set using the static constants provided in this class. For example, if user wants to set it to be first person, he/she can use setPerson(PersonalPronoun.FIRST) to achieve the task. There are methods to set the person, the plurality and the gender of the personal-pronoun. A factory method is also provided to serve the functionality of a constructor which user feeds in all the properties of the desired pronoun as parameters to the method.
PersonalPronounFactory
Inner classes inherited from class java.util.Map |
java.util.Map.Entry |
Field Summary | |
static java.lang.String |
FEMININE
Set the personal-pronoun to be feminine. |
static java.lang.String |
FIRST
The variable to set the pronoun to first person. |
static java.lang.String |
MASCULINE
Set the personal-pronoun to be masculine. |
static java.lang.String |
NEUTRAL
Set the personal-pronoun to be gender neutral. |
static java.lang.String |
SECOND
The variable to set the pronoun to second person. |
static java.lang.String |
THIRD
The variable to set the pronoun to third person. |
Method Summary | |
void |
setGender(java.lang.String gender)
A method to set the gender of the personal-pronoun. |
void |
setPerson(java.lang.String person)
A method to set the person of the personal-pronoun. |
void |
setPlural(boolean plurality)
A method to set whether the personal-pronoun is plural. |
Methods inherited from interface edu.columbia.surge.FD |
checkPath,
checkPath,
getPath,
getPath,
putPath,
putPath,
putPathOverride,
putPathOverride,
toString,
toXML |
Methods inherited from interface java.util.Map |
clear,
containsKey,
containsValue,
entrySet,
equals,
get,
hashCode,
isEmpty,
keySet,
put,
putAll,
remove,
size,
values |
Field Detail |
public static final java.lang.String MASCULINE
public static final java.lang.String FEMININE
public static final java.lang.String NEUTRAL
public static final java.lang.String FIRST
public static final java.lang.String SECOND
public static final java.lang.String THIRD
Method Detail |
public void setPerson(java.lang.String person)
person
- set whether the personal-pronoun to be first,
second or third person. User can use the static constants in this
class as parameters.public void setPlural(boolean plurality)
pluraity
- true to be plural and false to be singularFDProperties
public void setGender(java.lang.String gender)
gender
- can use the static variables in this class as
paratmers
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |