de.bsvrz.sys.usv.enums
Enum KommunikationsZustand

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

public enum KommunikationsZustand
extends Enum<KommunikationsZustand>

Zuordnung der Zustände des Attributs KommunikationsZustand der Attributgruppe atg.usvStatus

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

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


Störung

public static final KommunikationsZustand Störung
Der KommunikationsZustand "Kommunikationsstörung" (0).


normal

public static final KommunikationsZustand normal
Der KommunikationsZustand "in Ordnung" (1).

Field Detail

m_text

private final String m_text

m_value

private final int m_value
Method Detail

values

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

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

valueOf

public static KommunikationsZustand 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 KommunikationsZustandes.

Returns:
des Name des KommunikationsZustandes.

getValue

public int getValue()
Liefert die Ordinalzahl des KommunikationsZustandes.

Returns:
die Ordinalzahl des KommunikationsZustandes.