Enum Class Schulstufen

java.lang.Object
java.lang.Enum<Schulstufen>
at.letto.tools.enums.Schulstufen
All Implemented Interfaces:
Selectable, Serializable, Comparable<Schulstufen>, Constable

public enum Schulstufen extends Enum<Schulstufen> implements Selectable
  • Enum Constant Details

    • Jahrgang_1

      public static final Schulstufen Jahrgang_1
    • Jahrgang_2

      public static final Schulstufen Jahrgang_2
    • Jahrgang_3

      public static final Schulstufen Jahrgang_3
    • Jahrgang_4

      public static final Schulstufen Jahrgang_4
    • Jahrgang_5

      public static final Schulstufen Jahrgang_5
  • Constructor Details

    • Schulstufen

      private Schulstufen()
  • Method Details

    • values

      public static Schulstufen[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Schulstufen valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getText

      public String getText()
      Description copied from interface: Selectable
      Liefert den Inhalt für die Anzeige der Selectbox
      Specified by:
      getText in interface Selectable
      Returns:
      Liefert den Inhalt für die Anzeige der Selectbox
    • getId

      public int getId()
      Description copied from interface: Selectable
      Klassen, die Selectable implementieren, müssen eine getId-Methode haben wird für generellen Converter verwendet
      Specified by:
      getId in interface Selectable
      Returns:
      id des Objekts aus der Datenbank