public static enum Product.ProductType extends Enum<Product.ProductType> implements StringEnum
| Enum Constant and Description |
|---|
nonrecurring |
recurring |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalsName(String otherName) |
String |
toString() |
static Product.ProductType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Product.ProductType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Product.ProductType nonrecurring
public static final Product.ProductType recurring
public static Product.ProductType[] values()
for (Product.ProductType c : Product.ProductType.values()) System.out.println(c);
public static Product.ProductType 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 boolean equalsName(String otherName)
equalsName in interface StringEnumpublic String toString()
toString in class Enum<Product.ProductType>Copyright © 2015 BillForward. All rights reserved.