public enum ETradeType extends Enum<ETradeType>
| Enum Constant and Description |
|---|
CITY_OFFICE |
CITY_SHIP |
NONE |
OFFICE_CITY |
OFFICE_SHIP |
SHIP_CITY |
SHIP_OFFICE |
| Modifier and Type | Method and Description |
|---|---|
static ETradeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ETradeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ETradeType NONE
public static final ETradeType OFFICE_CITY
public static final ETradeType CITY_OFFICE
public static final ETradeType OFFICE_SHIP
public static final ETradeType SHIP_OFFICE
public static final ETradeType CITY_SHIP
public static final ETradeType SHIP_CITY
public static ETradeType[] values()
for (ETradeType c : ETradeType.values()) System.out.println(c);
public static ETradeType 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 © 2011-2016 Sahits GmbH. All Rights Reserved.