public enum GeschlechtTyp extends Enum<GeschlechtTyp>
Java class for GeschlechtTyp.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="GeschlechtTyp"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="nurMaenner"/> <enumeration value="nurFrauen"/> <enumeration value="keineEinschraenkung"/> </restriction> </simpleType>
Enum Constant and Description |
---|
KEINE_EINSCHRAENKUNG |
NUR_FRAUEN |
NUR_MAENNER |
Modifier and Type | Method and Description |
---|---|
static GeschlechtTyp |
fromValue(String v) |
String |
value() |
static GeschlechtTyp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeschlechtTyp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeschlechtTyp NUR_MAENNER
public static final GeschlechtTyp NUR_FRAUEN
public static final GeschlechtTyp KEINE_EINSCHRAENKUNG
public static GeschlechtTyp[] values()
for (GeschlechtTyp c : GeschlechtTyp.values()) System.out.println(c);
public static GeschlechtTyp 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 String value()
public static GeschlechtTyp fromValue(String v)
Copyright © 2015 OpenEstate. All rights reserved.