de.bsvrz.ste.rdstmcvew
Enum RDSVewMeldung.Quelle

java.lang.Object
  extended by java.lang.Enum<RDSVewMeldung.Quelle>
      extended by de.bsvrz.ste.rdstmcvew.RDSVewMeldung.Quelle
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RDSVewMeldung.Quelle>
Enclosing class:
RDSVewMeldung

public static enum RDSVewMeldung.Quelle
extends java.lang.Enum<RDSVewMeldung.Quelle>

Modelliert die Herkunft einer Meldung

Author:
Stefan Sans

Enum Constant Summary
Automatisch
           
Manuell
           
 
Method Summary
static RDSVewMeldung.Quelle get(java.lang.String text)
          Bestimmt die Quelle zu einem Text
 java.lang.String toString()
           
static RDSVewMeldung.Quelle valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RDSVewMeldung.Quelle[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Manuell

public static final RDSVewMeldung.Quelle Manuell

Automatisch

public static final RDSVewMeldung.Quelle Automatisch
Method Detail

values

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

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

valueOf

public static RDSVewMeldung.Quelle valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<RDSVewMeldung.Quelle>

get

public static RDSVewMeldung.Quelle get(java.lang.String text)
Bestimmt die Quelle zu einem Text

Parameters:
text - der Text, zu dem die Quelle bestimmt werde soll
Returns:
die Quelle zum übergebenen Text