Enum Class Score

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

public enum Score extends Enum<Score> implements Cloneable
Ergebnis einer Fragen-Beurteilung
NotScored : nicht bewertet, da das richtige Ergebnis nicht bekannt ist. zB bei Freitextfragen
OK : Antwort ist richtig
FALSCH : Antwort ist falsch
TEILWEISE_OK : Antwort ist teilweise richtig
EINHEITENFEHLER : Antwort hat einen Einheitenfehler
OK_Lehrer : Das Ergebnis wurde vom Lehrer händisch als richtig beurteilt
FALSCH_Lehrer : Das Ergebnis wurde vom Lehrer händisch als falsch beurteilt
TEILWEISE_OK_Lehrer : Das Ergebnis wurde vom Lehrer händisch als teilweise richtig beurteilt
EINHEITENFEHLER_Lehrer : Im Ergebnis der Beispielangabe ist ein Einheitenfehler
ANGABEFEHLER_EH : Das Ergebnis der Beispielangabe kann wegen eines Rechenfehlers nicht berechnet werden
PARSERFEHLER_SYSTEM : Der Parser kann das richtige Ergebnis nicht berechnen
NichtEntschieden : Calculated: die Bewertung ist noch nicht entschieden, da das Ergebnis nicht gepasst hat. Sind alle Answers einer Frage nicht entschieden, so ist die Antwort falsch

Author:
L-DAMB
  • Enum Constant Details

    • NotScored

      public static final Score NotScored
      nicht bewertet, da das richtige Ergebnis nicht bekannt ist. zB bei Freitextfragen
    • OK

      public static final Score OK
      Antwort ist richtig
    • FALSCH

      public static final Score FALSCH
      Antwort ist falsch
    • TEILWEISE_OK

      public static final Score TEILWEISE_OK
      Antwort ist teilweise richtig
    • EINHEITENFEHLER

      public static final Score EINHEITENFEHLER
      Antwort hat einen Einheitenfehler
    • OK_Lehrer

      public static final Score OK_Lehrer
      Das Ergebnis wurde vom Lehrer händisch als richtig beurteilt
    • FALSCH_Lehrer

      public static final Score FALSCH_Lehrer
      Das Ergebnis wurde vom Lehrer händisch als falsch beurteilt
    • TEILWEISE_OK_Lehrer

      public static final Score TEILWEISE_OK_Lehrer
      Das Ergebnis wurde vom Lehrer händisch als teilweise richtig beurteilt
    • EINHEITENFEHLER_Lehrer

      public static final Score EINHEITENFEHLER_Lehrer
      Im Ergebnis der Beispielangabe ist ein Einheitenfehler
    • ANGABEFEHLER_EH

      public static final Score ANGABEFEHLER_EH
      Das Ergebnis der Beispielangabe kann wegen eines Rechenfehlers nicht berechnet werden
    • PARSERFEHLER_SYSTEM

      public static final Score PARSERFEHLER_SYSTEM
      Der Parser kann das richtige Ergebnis nicht berechnen
    • NichtEntschieden

      public static final Score NichtEntschieden
      Calculated: die Bewertung ist noch nicht entschieden, da das Ergebnis nicht gepasst hat. Sind alle Answers einer Frage nicht entschieden, so ist die Antwort falsch
    • MEHRFACHANTWORT_OK

      public static final Score MEHRFACHANTWORT_OK
      Mehrfachbeantwortung der Frage, Antwort richtig
    • MEHRFACHANTWORT_OK_LEHRER

      public static final Score MEHRFACHANTWORT_OK_LEHRER
      Mehrfachbeantwortung der Frage, Antwort richtig, vom Lehrer definiert
    • MEHRFACHANTWORT_TW_RICHTIG

      public static final Score MEHRFACHANTWORT_TW_RICHTIG
      Mehrfachbeantwortung der Frage, Antwort tw. richtig
    • MEHRFACHANTWORT_TW_RICHTIG_LEHRER

      public static final Score MEHRFACHANTWORT_TW_RICHTIG_LEHRER
      Mehrfachbeantwortung der Frage, Antwort tw. richtig, Lehrerbeurteilung
  • Constructor Details

    • Score

      private Score()
  • Method Details

    • values

      public static Score[] 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 Score 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
    • getScoreTexColor

      public String getScoreTexColor()
    • htmlColor

      public String htmlColor(String text)