public enum GenderType extends Enum<GenderType>
GenderType defines the type of the gender.| Enum Constant and Description |
|---|
FEMALE
The constant for the gender female.
|
INCORPORATION
The constant for the gender that represents a company.
|
MALE
The constant for the gender male.
|
UNDEFINED
The constant if the gender is undefined.
|
| Modifier and Type | Method and Description |
|---|---|
static List<GenderType> |
getHumanGenders()
Gets the all genders without the gender type
UNDEFINED and
INCORPORATION. |
static List<GenderType> |
getValidGenders()
Gets the all genders without the gender type
UNDEFINED. |
static GenderType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GenderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenderType MALE
public static final GenderType FEMALE
public static final GenderType INCORPORATION
public static final GenderType UNDEFINED
public static GenderType[] values()
for (GenderType c : GenderType.values()) System.out.println(c);
public static GenderType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static List<GenderType> getHumanGenders()
UNDEFINED and
INCORPORATION.public static List<GenderType> getValidGenders()
UNDEFINED.Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.