|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Sex in university |
---|
Fields in university declared as Sex | |
---|---|
protected Sex |
PersonFactory.gender
|
Methods in university that return Sex | |
---|---|
Sex |
Person.getGender()
Returns the sex of a person |
static Sex |
Sex.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Sex[] |
Sex.values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Constructors in university with parameters of type Sex | |
---|---|
Employee(java.lang.String name,
Sex gender,
Address address,
Unit unit,
int salary)
Creates a new instance of Employee |
|
Faculty(java.lang.String name,
Sex gender,
Address address,
Unit unit,
int salary,
FacultyStatus status,
java.lang.String specialty)
Creates a new instance of Faculty. |
|
Graduate(java.lang.String name,
Sex gender,
Address address,
Unit unit,
GraduateLevel level)
Creates a new instance of Graduate |
|
Person(java.lang.String name,
Sex gender,
Address address,
Unit unit)
Creates a new instance of Person |
|
Staff(java.lang.String name,
Sex gender,
Address address,
Unit unit,
int salary,
StaffStatus status,
java.lang.String jobTitle)
Creates a new instance of Staff. |
|
Student(java.lang.String aName,
Sex aGender,
Address address,
Unit aUnit)
Creates a new instance of Student. |
|
Undergraduate(java.lang.String name,
Sex gender,
Address address,
Unit unit,
UndergraduateLevel level)
Creates a new instance of an Undergraduate student. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |