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