Enum Class LueckentextMode

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

public enum LueckentextMode extends Enum<LueckentextMode> implements Selectable
Enumerations-Feld zur Definition des
Author:
Thomas Mayer
  • Enum Constant Details

  • Constructor Details

    • LueckentextMode

      private LueckentextMode()
  • Method Details

    • values

      public static LueckentextMode[] 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 LueckentextMode 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
    • getType

      public static LueckentextMode getType(int ordinal)
    • 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