public static enum ValidationResultEntry.CustomerTypeEnum extends Enum<ValidationResultEntry.CustomerTypeEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
ValidationResultEntry.CustomerTypeEnum.Adapter |
| Modifier and Type | Method and Description |
|---|---|
static ValidationResultEntry.CustomerTypeEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static ValidationResultEntry.CustomerTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationResultEntry.CustomerTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationResultEntry.CustomerTypeEnum ADULT
public static final ValidationResultEntry.CustomerTypeEnum CHILD
public static final ValidationResultEntry.CustomerTypeEnum SENIOR
public static ValidationResultEntry.CustomerTypeEnum[] values()
for (ValidationResultEntry.CustomerTypeEnum c : ValidationResultEntry.CustomerTypeEnum.values()) System.out.println(c);
public static ValidationResultEntry.CustomerTypeEnum 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 getValue()
public String toString()
toString in class Enum<ValidationResultEntry.CustomerTypeEnum>public static ValidationResultEntry.CustomerTypeEnum fromValue(String text)
Copyright © 2018. All rights reserved.