public enum EChurchExtension extends Enum<EChurchExtension>
| Enum Constant and Description |
|---|
EXTENDED_ONCE |
EXTENDED_TWICE |
NONE |
| Modifier and Type | Field and Description |
|---|---|
private int |
requiredCash |
| Modifier and Type | Method and Description |
|---|---|
Optional<EChurchExtension> |
getNextExtensionLevel()
Retrieve the next extension level if one is available.
|
static EChurchExtension |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EChurchExtension[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EChurchExtension NONE
public static final EChurchExtension EXTENDED_ONCE
public static final EChurchExtension EXTENDED_TWICE
public static EChurchExtension[] values()
for (EChurchExtension c : EChurchExtension.values()) System.out.println(c);
public static EChurchExtension 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 Optional<EChurchExtension> getNextExtensionLevel()
Copyright © 2011-2016 Sahits GmbH. All Rights Reserved.