public static enum CommodityInfo.Fields extends Enum<CommodityInfo.Fields>
Enum Constant and Description |
---|
CATEGORY_NAME |
IDENTIFIER |
PRODUCT_BARCODE |
PRODUCT_COUNTED_IN_PRICE |
PRODUCT_NAME |
PRODUCT_NETTO |
PRODUCT_SALES_UNIT |
Modifier and Type | Method and Description |
---|---|
static CommodityInfo.Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommodityInfo.Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommodityInfo.Fields IDENTIFIER
public static final CommodityInfo.Fields PRODUCT_NAME
public static final CommodityInfo.Fields PRODUCT_BARCODE
public static final CommodityInfo.Fields PRODUCT_NETTO
public static final CommodityInfo.Fields CATEGORY_NAME
public static final CommodityInfo.Fields PRODUCT_SALES_UNIT
public static final CommodityInfo.Fields PRODUCT_COUNTED_IN_PRICE
public static CommodityInfo.Fields[] values()
for (CommodityInfo.Fields c : CommodityInfo.Fields.values()) System.out.println(c);
public static CommodityInfo.Fields 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 © 2015. All rights reserved.