Enum IAllowedValuesConstraint.Extensible
- java.lang.Object
-
- java.lang.Enum<IAllowedValuesConstraint.Extensible>
-
- gov.nist.secauto.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>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IAllowedValuesConstraint.Extensible
valueOf(String name)
Returns 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 Detail
-
EXTERNAL
public static final IAllowedValuesConstraint.Extensible EXTERNAL
Can be extended by external constraints. The most permissive level.
-
MODEL
public static final IAllowedValuesConstraint.Extensible MODEL
Can be extended by constraints in the same model.
-
NONE
public static final IAllowedValuesConstraint.Extensible NONE
Cannot be extended. The most restrictive level.
-
-
Method Detail
-
values
public static IAllowedValuesConstraint.Extensible[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IAllowedValuesConstraint.Extensible c : IAllowedValuesConstraint.Extensible.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IAllowedValuesConstraint.Extensible valueOf(String name)
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
-
-