Enum Class MaxOccurNumber

java.lang.Object
java.lang.Enum<MaxOccurNumber>
io.jmix.ui.meta.MaxOccurNumber
All Implemented Interfaces:
Serializable, Comparable<MaxOccurNumber>, Constable

public enum MaxOccurNumber extends Enum<MaxOccurNumber>
  • Enum Constant Details

    • ONE

      public static final MaxOccurNumber ONE
      The element can only occur once.
    • UNBOUNDED

      public static final MaxOccurNumber UNBOUNDED
      The element can occur an unbounded number of times.
  • Method Details

    • values

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