Enum Class PropertiesConstraint

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

public enum PropertiesConstraint extends Enum<PropertiesConstraint>
Specifies the behaviour of properties in group.
  • Enum Constant Details

    • ONE_OF

      public static final PropertiesConstraint ONE_OF
      Properties in group are mutually exclusive.
    • ALL_OR_NOTHING

      public static final PropertiesConstraint ALL_OR_NOTHING
      All properties of group or none of them must be set.
  • Method Details

    • values

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