Package com.unboundid.scim2.server.utils
Enum SchemaChecker.Option
- java.lang.Object
-
- java.lang.Enum<SchemaChecker.Option>
-
- com.unboundid.scim2.server.utils.SchemaChecker.Option
-
- All Implemented Interfaces:
Serializable,Comparable<SchemaChecker.Option>
- Enclosing class:
- SchemaChecker
public static enum SchemaChecker.Option extends Enum<SchemaChecker.Option>
Enumeration that defines options affecting the way schema checking is performed. These options may be enabled and disabled before using the schema checker.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOW_UNDEFINED_ATTRIBUTESRelax SCIM 2 standard schema requirements by allowing core or extended attributes in the resource that are not defined by any schema in the resource type definition.ALLOW_UNDEFINED_SUB_ATTRIBUTESRelax SCIM 2 standard schema requirements by allowing sub-attributes that are not defined by the definition of the parent attribute.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SchemaChecker.OptionvalueOf(String name)Returns the enum constant of this type with the specified name.static SchemaChecker.Option[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALLOW_UNDEFINED_ATTRIBUTES
public static final SchemaChecker.Option ALLOW_UNDEFINED_ATTRIBUTES
Relax SCIM 2 standard schema requirements by allowing core or extended attributes in the resource that are not defined by any schema in the resource type definition.
-
ALLOW_UNDEFINED_SUB_ATTRIBUTES
public static final SchemaChecker.Option ALLOW_UNDEFINED_SUB_ATTRIBUTES
Relax SCIM 2 standard schema requirements by allowing sub-attributes that are not defined by the definition of the parent attribute.
-
-
Method Detail
-
values
public static SchemaChecker.Option[] 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 (SchemaChecker.Option c : SchemaChecker.Option.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SchemaChecker.Option 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
-
-