no.digipost.api.client.representations
Enum SensitivityLevel

java.lang.Object
  extended by java.lang.Enum<SensitivityLevel>
      extended by no.digipost.api.client.representations.SensitivityLevel
All Implemented Interfaces:
Serializable, Comparable<SensitivityLevel>

public enum SensitivityLevel
extends Enum<SensitivityLevel>


Enum Constant Summary
NORMAL
           
SENSITIVE
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NORMAL

public static final SensitivityLevel NORMAL

SENSITIVE

public static final SensitivityLevel SENSITIVE
Method Detail

values

public static SensitivityLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SensitivityLevel c : SensitivityLevel.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SensitivityLevel valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

level

public int level()

fromLevel

public static SensitivityLevel fromLevel(int verdi)

value

public String value()

fromValue

public static SensitivityLevel fromValue(String v)


Copyright © 2012 Digipost Open Source. All Rights Reserved.