|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object spellcast.beings.Gender
public abstract class Gender
Field Summary | |
---|---|
static Gender |
FEMALE
|
static java.lang.String[] |
GENDERS_AS_STRINGS
A list of genders that are available in their string form. |
static Gender |
MALE
|
static Gender |
NEUTER
|
static Gender |
NONE
|
Constructor Summary | |
---|---|
Gender(java.lang.String genderString)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
static Gender |
getGender(java.lang.String genderString)
Given a string return the matching gender object (case is insensitive). |
java.lang.String |
getGenderString()
Get the value of genderString. |
abstract java.lang.String |
pro_he()
Return the "he" like pronoun. |
abstract java.lang.String |
pro_him()
Return the "him" like pronoun. |
abstract java.lang.String |
pro_himself()
Return the "himself" like pronoun. |
abstract java.lang.String |
pro_his()
Return the "his" like pronoun. |
void |
setGenderString(java.lang.String v)
Set the value of genderString. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Gender MALE
public static final Gender FEMALE
public static final Gender NEUTER
public static final Gender NONE
public static final java.lang.String[] GENDERS_AS_STRINGS
Constructor Detail |
---|
public Gender(java.lang.String genderString)
Method Detail |
---|
public java.lang.String getGenderString()
public void setGenderString(java.lang.String v)
v
- Value to assign to genderString.public abstract java.lang.String pro_himself()
public abstract java.lang.String pro_him()
public abstract java.lang.String pro_he()
public abstract java.lang.String pro_his()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public static Gender getGender(java.lang.String genderString)
genderString
- must be on of the strings listed in GENDERS_AS_STRINGS
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |