public enum SecondaryCategory extends Enum<SecondaryCategory>
| Enum Constant and Description |
|---|
COMMUNITY |
ERROR |
FREE |
GROUP |
INDIVIDUAL |
PROMOTIONAL |
TAXED |
| Modifier and Type | Method and Description |
|---|---|
static SecondaryCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecondaryCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecondaryCategory INDIVIDUAL
public static final SecondaryCategory COMMUNITY
public static final SecondaryCategory GROUP
public static final SecondaryCategory TAXED
public static final SecondaryCategory FREE
public static final SecondaryCategory PROMOTIONAL
public static final SecondaryCategory ERROR
public static SecondaryCategory[] values()
for (SecondaryCategory c : SecondaryCategory.values()) System.out.println(c);
public static SecondaryCategory 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 © 2020. All rights reserved.