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