de.bsvrz.sys.usv.enums
Enum KritischerZustand

java.lang.Object
  extended by java.lang.Enum<KritischerZustand>
      extended by de.bsvrz.sys.usv.enums.KritischerZustand
All Implemented Interfaces:
Serializable, Comparable<KritischerZustand>

public enum KritischerZustand
extends Enum<KritischerZustand>

Zuordnung der Zustände des Attributs KritischerZustand der Attributgruppe USV-kritischer Zustand

Author:
ObertM, Christian Hösel, BitCtrl Systems GmbH

Enum Constant Summary
kritisch
          Der KritischerZustand "erreicht" (1).
na
          Der KritischerZustand "Nicht ermittelbar" (-1).
normal
          Der KritischerZustand "noch nicht erreicht" (0).
 
Method Summary
 String getText()
          Liefert den Namen eines KritischerZustand.
 int getValue()
          Liefert die Ordinalzahl eines KritischerZustand.
static KritischerZustand valueOf(String name)
          Returns the enum constant of this type with the specified name.
static KritischerZustand[] 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

na

public static final KritischerZustand na
Der KritischerZustand "Nicht ermittelbar" (-1).


normal

public static final KritischerZustand normal
Der KritischerZustand "noch nicht erreicht" (0).


kritisch

public static final KritischerZustand kritisch
Der KritischerZustand "erreicht" (1).

Method Detail

values

public static KritischerZustand[] 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 (KritischerZustand c : KritischerZustand.values())
    System.out.println(c);

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

valueOf

public static KritischerZustand 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

getText

public String getText()
Liefert den Namen eines KritischerZustand.

Returns:
der Names des KritischerZustand.

getValue

public int getValue()
Liefert die Ordinalzahl eines KritischerZustand.

Returns:
die Ordinalzahl des KritischerZustand.