public enum ProductContentType extends java.lang.Enum<ProductContentType>
| Modifier and Type | Method and Description |
|---|---|
static java.util.Set<java.lang.String> |
getAllowedSetOfValues() |
static ProductContentType |
toProductContentType(java.lang.String typeAsString)
Parses a string to the content type which can be included in the product.
|
java.lang.String |
toString() |
static ProductContentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProductContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductContentType BUNDLES
public static final ProductContentType FEATURES
public static final ProductContentType MIXED
public static ProductContentType[] values()
for (ProductContentType c : ProductContentType.values()) System.out.println(c);
public static ProductContentType 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 nullpublic java.lang.String toString()
toString in class java.lang.Enum<ProductContentType>public static ProductContentType toProductContentType(java.lang.String typeAsString) throws java.lang.IllegalArgumentException
typeAsString - input string to be parsedjava.lang.IllegalArgumentException - if typeAsString is not a valid for a product content typepublic static java.util.Set<java.lang.String> getAllowedSetOfValues()