public enum ETradeType extends java.lang.Enum<ETradeType>
| Enum Constant | Description |
|---|---|
CITY_OFFICE |
|
CITY_SHIP |
|
NONE |
|
OFFICE_CITY |
|
OFFICE_SHIP |
|
SHIP_CITY |
|
SHIP_OFFICE |
| Modifier and Type | Method | Description |
|---|---|---|
static ETradeType |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.