Interface BaseSchedulerEnumeration<E extends Comparable<E>,​D>

    • Method Detail

      • name

        String name()
        Returns the name of this enumeration.
        Returns:
        the name of this enumeration
      • ordinal

        int ordinal()
        Return the defined position of the enumeration in it's list.
        Returns:
        the ordinal position of the enumeration
      • getCodeExValue

        D getCodeExValue()
        Return the code for the enumeration item as the database type of this enumeration.
        Returns:
        the enumeration code
      • getTranslationKey

        String getTranslationKey()
        Get the translation-key that must be used to retrieve the locale-specific name of this enumeration.
        Returns:
        the key.
      • getTranslationEN

        String getTranslationEN()
        Get the English name of this enumeration.
        Returns:
        the English name of this enumeration.
      • getDescriptionKey

        String getDescriptionKey()
        Get the translation-key for the description that must be used to retrieve the locale-specific description of this enumeration.
        Returns:
        the key that can be passed to SchedulerSession.translateField(String) to retrieve the translated description.