edu.columbia.surge
Interface PersonalPronoun

All Known Implementing Classes:
PersonalPronounH

public abstract interface PersonalPronoun
extends FD

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.

See Also:
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

MASCULINE

public static final java.lang.String MASCULINE
Set the personal-pronoun to be masculine.

FEMININE

public static final java.lang.String FEMININE
Set the personal-pronoun to be feminine.

NEUTRAL

public static final java.lang.String NEUTRAL
Set the personal-pronoun to be gender neutral.

FIRST

public static final java.lang.String FIRST
The variable to set the pronoun to first person.

SECOND

public static final java.lang.String SECOND
The variable to set the pronoun to second person.

THIRD

public static final java.lang.String THIRD
The variable to set the pronoun to third person.
Method Detail

setPerson

public void setPerson(java.lang.String person)
A method to set the person of the personal-pronoun.
Parameters:
person - set whether the personal-pronoun to be first, second or third person. User can use the static constants in this class as parameters.

setPlural

public void setPlural(boolean plurality)
A method to set whether the personal-pronoun is plural. User can use the constants in the FDProperties to set the pluraity.
Parameters:
pluraity - true to be plural and false to be singular
See Also:
FDProperties

setGender

public void setGender(java.lang.String gender)
A method to set the gender of the personal-pronoun.
Parameters:
gender - can use the static variables in this class as paratmers