public enum ValidationModeEnum extends Enum<ValidationModeEnum>
| Enum Constant and Description |
|---|
CREATE
The server checks the content, and then checks that the content would be acceptable as a create (e.g.
|
DELETE
The server ignores the content, and checks that the nominated resource is allowed to be deleted (e.g.
|
UPDATE
The server checks the content, and then checks that it would accept it as an update against the nominated specific resource (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static ValidationModeEnum |
forCode(String theCode) |
String |
getCode() |
static ValidationModeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationModeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationModeEnum CREATE
public static final ValidationModeEnum UPDATE
public static final ValidationModeEnum DELETE
public static ValidationModeEnum[] values()
for (ValidationModeEnum c : ValidationModeEnum.values()) System.out.println(c);
public static ValidationModeEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static ValidationModeEnum forCode(String theCode)
Copyright © 2014–2019 University Health Network. All rights reserved.