public static enum Restriction.RestrictionLevel extends Enum<Restriction.RestrictionLevel>
| Modifier and Type | Method and Description |
|---|---|
static Restriction.RestrictionLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Restriction.RestrictionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Restriction.RestrictionLevel HIGH
public static final Restriction.RestrictionLevel MEDIUM
public static final Restriction.RestrictionLevel LOW
public Integer level
public static Restriction.RestrictionLevel[] values()
for (Restriction.RestrictionLevel c : Restriction.RestrictionLevel.values()) System.out.println(c);
public static Restriction.RestrictionLevel 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 © 2015 jsolve. All rights reserved.