java.lang.Object
java.lang.Enum<SectionMode>
de.espirit.firstspirit.access.store.templatestore.gom.SectionMode
All Implemented Interfaces:
Serializable, Comparable<SectionMode>, Constable

public enum SectionMode extends Enum<SectionMode>
Switch defining the kind of possible section references
Since:
4.2
  • Enum Constant Details

    • NO

      public static final SectionMode NO
      Allow page references only
      Since:
      4.2
    • YES

      public static final SectionMode YES
      Allow page references and references to sections thereof
      Since:
      4.2
    • ONLY

      public static final SectionMode ONLY
      Allow references to the current page's sections only
      Since:
      4.2.402
  • Method Details

    • values

      public static SectionMode[] 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 SectionMode 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