public enum ResourceValidationMode extends Enum<ResourceValidationMode>
| 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.
|
NULL
added to help the parsers
|
PROFILE
The server checks an existing resource (must be nominated by id, not provided as a parameter) as valid against the nominated profile.
|
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 ResourceValidationMode |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static ResourceValidationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceValidationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceValidationMode CREATE
public static final ResourceValidationMode UPDATE
public static final ResourceValidationMode DELETE
public static final ResourceValidationMode PROFILE
public static final ResourceValidationMode NULL
public static ResourceValidationMode[] values()
for (ResourceValidationMode c : ResourceValidationMode.values()) System.out.println(c);
public static ResourceValidationMode 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 ResourceValidationMode fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic String getDefinition()
public String getDisplay()
Copyright © 2014–2021 Health Level 7. All rights reserved.