public static enum Product.TypeEnum extends Enum<Product.TypeEnum>
| Enum Constant and Description |
|---|
FIXED |
FIXEDCOURSE |
FLEXIBLETIME |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Product.TypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Product.TypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Product.TypeEnum FIXED
public static final Product.TypeEnum FIXEDCOURSE
public static final Product.TypeEnum FLEXIBLETIME
public static Product.TypeEnum[] values()
for (Product.TypeEnum c : Product.TypeEnum.values()) System.out.println(c);
public static Product.TypeEnum 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<Product.TypeEnum>Copyright © 2015. All rights reserved.