Package eu.de4a.iem.model
Enum EDE4AGenderCode
- java.lang.Object
-
- java.lang.Enum<EDE4AGenderCode>
-
- eu.de4a.iem.model.EDE4AGenderCode
-
- All Implemented Interfaces:
com.helger.commons.id.IHasID<String>,com.helger.commons.name.IHasDisplayName,Serializable,Comparable<EDE4AGenderCode>
public enum EDE4AGenderCode extends Enum<EDE4AGenderCode> implements com.helger.commons.id.IHasID<String>, com.helger.commons.name.IHasDisplayName
Gender code code list. Automatically generated from a code list.- Author:
- Philip Helger
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplayName()StringgetID()static EDE4AGenderCodevalueOf(String name)Returns the enum constant of this type with the specified name.static EDE4AGenderCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
M
public static final EDE4AGenderCode M
-
F
public static final EDE4AGenderCode F
-
UN
public static final EDE4AGenderCode UN
-
-
Method Detail
-
values
public static EDE4AGenderCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EDE4AGenderCode c : EDE4AGenderCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EDE4AGenderCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getID
@Nonnull @Nonempty public String getID()
- Specified by:
getIDin interfacecom.helger.commons.id.IHasID<String>
-
getDisplayName
@Nonnull @Nonempty public String getDisplayName()
- Specified by:
getDisplayNamein interfacecom.helger.commons.name.IHasDisplayName
-
-