public enum SensitivityLevel extends Enum<SensitivityLevel>
Modifier and Type | Method and Description |
---|---|
static SensitivityLevel |
fromLevel(int verdi) |
static SensitivityLevel |
fromValue(String v) |
int |
level() |
String |
value() |
static SensitivityLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SensitivityLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SensitivityLevel NORMAL
public static final SensitivityLevel SENSITIVE
public static SensitivityLevel[] values()
for (SensitivityLevel c : SensitivityLevel.values()) System.out.println(c);
public static SensitivityLevel 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 int level()
public static SensitivityLevel fromLevel(int verdi)
public String value()
public static SensitivityLevel fromValue(String v)
Copyright © 2013 Digipost Open Source. All rights reserved.