Enum StockType
- java.lang.Object
-
- java.lang.Enum<StockType>
-
- org.oxerr.vividseats.client.model.inventory.StockType
-
- All Implemented Interfaces:
Serializable,Comparable<StockType>
public enum StockType extends Enum<StockType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ELECTRONICFLASHHARDMOBILE_SCREENCAPPAPERLESSPAPERLESS_CARDPAPERLESS_WALKINTMET
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StockTypevalueOf(String name)Returns the enum constant of this type with the specified name.static StockType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HARD
public static final StockType HARD
-
ELECTRONIC
public static final StockType ELECTRONIC
-
FLASH
public static final StockType FLASH
-
PAPERLESS
public static final StockType PAPERLESS
-
TMET
public static final StockType TMET
-
MOBILE_SCREENCAP
public static final StockType MOBILE_SCREENCAP
-
PAPERLESS_CARD
public static final StockType PAPERLESS_CARD
-
PAPERLESS_WALKIN
public static final StockType PAPERLESS_WALKIN
-
-
Method Detail
-
values
public static StockType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StockType c : StockType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StockType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-