public enum TicketCancelAcceptance extends Enum<TicketCancelAcceptance>
Enum Constant and Description |
---|
Cancelled
Cancelled
|
NotCancelled
NotCancelled
|
Modifier and Type | Method and Description |
---|---|
static TicketCancelAcceptance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TicketCancelAcceptance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TicketCancelAcceptance Cancelled
public static final TicketCancelAcceptance NotCancelled
public static TicketCancelAcceptance[] values()
for (TicketCancelAcceptance c : TicketCancelAcceptance.values()) System.out.println(c);
public static TicketCancelAcceptance 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 nullCopyright © 2017–2023. All rights reserved.