public static enum Transaction.IndustryType extends Enum<Transaction.IndustryType>
Enum Constant and Description |
---|
LODGING |
TRAVEL_CRUISE |
TRAVEL_FLIGHT |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Transaction.IndustryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transaction.IndustryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transaction.IndustryType LODGING
public static final Transaction.IndustryType TRAVEL_CRUISE
public static final Transaction.IndustryType TRAVEL_FLIGHT
private final String name
public static Transaction.IndustryType[] values()
for (Transaction.IndustryType c : Transaction.IndustryType.values()) System.out.println(c);
public static Transaction.IndustryType 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 toString()
toString
in class Enum<Transaction.IndustryType>
Copyright © 2013-2018. All Rights Reserved.