Module jonix.common

Enum Class BibleTextOrganizations

java.lang.Object
java.lang.Enum<BibleTextOrganizations>
com.tectonica.jonix.common.codelist.BibleTextOrganizations
All Implemented Interfaces:
OnixCodelist, Serializable, Comparable<BibleTextOrganizations>, Constable

public enum BibleTextOrganizations extends Enum<BibleTextOrganizations> implements OnixCodelist
Enum that corresponds to ONIX Codelist 86

Description: Bible text organization

See Also:
  • Enum Constant Details

    • Chronological

      public static final BibleTextOrganizations Chronological
      A Bible with the text organized in the order in which events are believed to have happened
    • Chain_reference

      public static final BibleTextOrganizations Chain_reference
      A Bible which explores keywords or themes by referring text to preceding or following text
    • Interlinear

      public static final BibleTextOrganizations Interlinear
      A Bible or other text in which different versions are printed one line above the other, so that the variations can easily be detected
    • Parallel

      public static final BibleTextOrganizations Parallel
      A Bible with two or more versions printed side by side
    • Standard

      public static final BibleTextOrganizations Standard
      A Bible in which the text is presented in the traditional order
  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

      public static BibleTextOrganizations[] 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 BibleTextOrganizations 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
    • getCode

      public String getCode()
      Specified by:
      getCode in interface OnixCodelist
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface OnixCodelist
    • byCode

      public static BibleTextOrganizations byCode(String code)
    • byCodeOptional

      public static Optional<BibleTextOrganizations> byCodeOptional(String code)
    • codeToDesciption

      public static String codeToDesciption(String code)