Uses of Enum
edu.pdx.cs410J.family.Person.Gender
Package
Description
The package contains a family tree application that uses many of
the classes that we discuss in CS410J.
-
Uses of Person.Gender in edu.pdx.cs410J.family
Modifier and TypeFieldDescriptionstatic Person.Gender
Person.FEMALE
static Person.Gender
Person.MALE
Modifier and TypeMethodDescriptionPerson.getGender()
Returns this person's genderRemotePerson.getGender()
Returns this person's gender (eitherPerson.MALE
orPerson.FEMALE
.RemotePersonImpl.getGender()
static Person.Gender
Returns the enum constant of this type with the specified name.static Person.Gender[]
Person.Gender.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionRemoteFamilyTree.createPerson
(Person.Gender gender) Creates a newPerson
of a given genderXmlRemoteFamilyTree.createPerson
(Person.Gender gender) (package private) void
Person.setGender
(Person.Gender gender) Sets this person's gender.ModifierConstructorDescriptionPerson
(int id, Person.Gender gender) Creates a newPerson
with a given id and gender.