Uses of Enum
edu.pdx.cs410J.family.Person.Gender
Packages that use 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
Fields in edu.pdx.cs410J.family declared as Person.GenderModifier and TypeFieldDescriptionstatic Person.GenderPerson.FEMALEstatic Person.GenderPerson.MALEMethods in edu.pdx.cs410J.family that return Person.GenderModifier and TypeMethodDescriptionPerson.getGender()Returns this person's genderRemotePerson.getGender()Returns this person's gender (eitherPerson.MALEorPerson.FEMALE.RemotePersonImpl.getGender()static Person.GenderReturns 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.Methods in edu.pdx.cs410J.family with parameters of type Person.GenderModifier and TypeMethodDescriptionRemoteFamilyTree.createPerson(Person.Gender gender) Creates a newPersonof a given genderXmlRemoteFamilyTree.createPerson(Person.Gender gender) (package private) voidPerson.setGender(Person.Gender gender) Sets this person's gender.Constructors in edu.pdx.cs410J.family with parameters of type Person.GenderModifierConstructorDescriptionPerson(int id, Person.Gender gender) Creates a newPersonwith a given id and gender.