Module dev.metaschema.core
Enum IAllowedValuesConstraint.Extensible
java.lang.Object
java.lang.Enum<IAllowedValuesConstraint.Extensible>
dev.metaschema.core.model.constraint.IAllowedValuesConstraint.Extensible
- All Implemented Interfaces:
Serializable,Comparable<IAllowedValuesConstraint.Extensible>
- Enclosing interface:
- IAllowedValuesConstraint
public static enum IAllowedValuesConstraint.Extensible
extends Enum<IAllowedValuesConstraint.Extensible>
Indicates how an allowed values constraint can be extended, or if it can be.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static IAllowedValuesConstraint.Extensible[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EXTERNAL
Can be extended by external constraints. The most permissive level. -
MODEL
Can be extended by constraints in the same model. -
NONE
Cannot be extended. The most restrictive level.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-