de.bsvrz.sys.usv.enums
Enum EingangsfrequenzZustand

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

public enum EingangsfrequenzZustand
extends Enum<EingangsfrequenzZustand>

Zuordnung der Zustände des Attributs EingangsFrequenZustand der Attributgruppe USV-Status

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

Enum Constant Summary
hoch
          Der EingangsfrequenzZustand "Hoch" (1).
na
          Der EingangsfrequenzZustand "Nicht ermittelbar" (-1).
niedrig
          Der EingangsfrequenzZustand "Niedrig" (2).
normal
          Der EingangsfrequenzZustand "in Ordnung" (0).
 
Field Summary
private  String m_text
           
private  int m_value
           
 
Method Summary
 String getText()
          Liefert den Namen des EingangsfrequenzZustandes.
 int getValue()
          Liefert die Ordinalzahl des EingangsfrequenzZustandes.
static EingangsfrequenzZustand valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EingangsfrequenzZustand[] 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 EingangsfrequenzZustand na
Der EingangsfrequenzZustand "Nicht ermittelbar" (-1).


normal

public static final EingangsfrequenzZustand normal
Der EingangsfrequenzZustand "in Ordnung" (0).


hoch

public static final EingangsfrequenzZustand hoch
Der EingangsfrequenzZustand "Hoch" (1).


niedrig

public static final EingangsfrequenzZustand niedrig
Der EingangsfrequenzZustand "Niedrig" (2).

Field Detail

m_text

private final String m_text

m_value

private final int m_value
Method Detail

values

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

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

valueOf

public static EingangsfrequenzZustand 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 des EingangsfrequenzZustandes.

Returns:
der Name des EingangsfrequenzZustandes.

getValue

public int getValue()
Liefert die Ordinalzahl des EingangsfrequenzZustandes.

Returns:
die Ordinalzahl des EingangsfrequenzZustandes.