de.bsvrz.sys.usv.enums
Enum ZustandNotstrom

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

public enum ZustandNotstrom
extends Enum<ZustandNotstrom>

Zuordnung der Zustände der Attribute ZustandNotstrom der Attributgruppe USV-Status

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

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


passiv

public static final ZustandNotstrom passiv
Der ZustandNotstrom "in Ordnung, passiv" (0).


aktiv

public static final ZustandNotstrom aktiv
Der ZustandNotstrom "in Ordnung, aktiv" (1).


Stoerung

public static final ZustandNotstrom Stoerung
Der ZustandNotstrom "Störung" (2).

Field Detail

m_text

private final String m_text

m_value

private final int m_value
Method Detail

values

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

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

valueOf

public static ZustandNotstrom 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 ZustandNotstrom.

Returns:
der Name des ZustandNotstrom.

getValue

public int getValue()
Liefert die Ordinalzahl eines ZustandNotstrom.

Returns:
die Ordinalzahl des ZustandNotstrom.