public enum ECityViolationPunishment extends java.lang.Enum<ECityViolationPunishment>
| Enum Constant | Description |
|---|---|
BLOCKADE |
|
LARGE_FINE |
|
MEDIUM_FINE |
|
NONE |
|
SMALL_FINE |
| Modifier and Type | Method | Description |
|---|---|---|
static ECityViolationPunishment |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ECityViolationPunishment[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ECityViolationPunishment NONE
public static final ECityViolationPunishment SMALL_FINE
public static final ECityViolationPunishment MEDIUM_FINE
public static final ECityViolationPunishment LARGE_FINE
public static final ECityViolationPunishment BLOCKADE
public static ECityViolationPunishment[] values()
for (ECityViolationPunishment c : ECityViolationPunishment.values()) System.out.println(c);
public static ECityViolationPunishment valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.