public enum ProductDataConstants extends Enum<ProductDataConstants>
ProductListDecorator
Enum Constant and Description |
---|
CATEGORY |
DESCRIPTION |
ID |
PRICE |
SKU |
TAGS |
THUMB_PATH |
TITLE |
URL |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static ProductDataConstants |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProductDataConstants[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductDataConstants ID
public static final ProductDataConstants SKU
public static final ProductDataConstants PRICE
public static final ProductDataConstants TITLE
public static final ProductDataConstants DESCRIPTION
public static final ProductDataConstants URL
public static final ProductDataConstants TAGS
public static final ProductDataConstants CATEGORY
public static final ProductDataConstants THUMB_PATH
public static ProductDataConstants[] values()
for (ProductDataConstants c : ProductDataConstants.values()) System.out.println(c);
public static ProductDataConstants 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<ProductDataConstants>
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"