Enum SchemaValidator.DirectionType
- java.lang.Object
-
- java.lang.Enum<SchemaValidator.DirectionType>
-
- de.captaingoldfish.scim.sdk.server.schemas.SchemaValidator.DirectionType
-
- All Implemented Interfaces:
Serializable,Comparable<SchemaValidator.DirectionType>
- Enclosing class:
- SchemaValidator
protected static enum SchemaValidator.DirectionType extends Enum<SchemaValidator.DirectionType>
the direction type is used for validation. It tells us how a schema should be validated because there are some differences. The meta-attribute for example is a required attribute for the response and therefore has a readOnly mutability. In order to validate those attribute correctly we need to know if we validate the schema as a request or as a response
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SchemaValidator.DirectionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SchemaValidator.DirectionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUEST
public static final SchemaValidator.DirectionType REQUEST
-
RESPONSE
public static final SchemaValidator.DirectionType RESPONSE
-
-
Method Detail
-
values
public static SchemaValidator.DirectionType[] 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 (SchemaValidator.DirectionType c : SchemaValidator.DirectionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SchemaValidator.DirectionType 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
-
-