public enum DenyReasonEnum extends Enum<DenyReasonEnum>
Java class for DenyReasonEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DenyReasonEnum">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="unknownReason"/>
<enumeration value="wrongCatalogue"/>
<enumeration value="wrongFilter"/>
<enumeration value="wrongOrder"/>
<enumeration value="wrongPartner"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
UNKNOWN_REASON |
WRONG_CATALOGUE |
WRONG_FILTER |
WRONG_ORDER |
WRONG_PARTNER |
| Modifier and Type | Method and Description |
|---|---|
static DenyReasonEnum |
fromValue(String v) |
String |
value() |
static DenyReasonEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DenyReasonEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DenyReasonEnum UNKNOWN_REASON
public static final DenyReasonEnum WRONG_CATALOGUE
public static final DenyReasonEnum WRONG_FILTER
public static final DenyReasonEnum WRONG_ORDER
public static final DenyReasonEnum WRONG_PARTNER
public static DenyReasonEnum[] values()
for (DenyReasonEnum c : DenyReasonEnum.values()) System.out.println(c);
public static DenyReasonEnum 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 DenyReasonEnum fromValue(String v)
Copyright © 2014–2015 Centrum dopravního výzkumu, v.v.i.. All rights reserved.