Package org.hl7.fhir.r4.model
Enum TestScript.TestScriptRequestMethodCode
- java.lang.Object
-
- java.lang.Enum<TestScript.TestScriptRequestMethodCode>
-
- org.hl7.fhir.r4.model.TestScript.TestScriptRequestMethodCode
-
- All Implemented Interfaces:
Serializable,Comparable<TestScript.TestScriptRequestMethodCode>
- Enclosing class:
- TestScript
public static enum TestScript.TestScriptRequestMethodCode extends Enum<TestScript.TestScriptRequestMethodCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELETEHTTP DELETE operation.GETHTTP GET operation.HEADHTTP HEAD operation.NULLadded to help the parsers with the generic typesOPTIONSHTTP OPTIONS operation.PATCHHTTP PATCH operation.POSTHTTP POST operation.PUTHTTP PUT operation.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TestScript.TestScriptRequestMethodCodefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static TestScript.TestScriptRequestMethodCodevalueOf(String name)Returns the enum constant of this type with the specified name.static TestScript.TestScriptRequestMethodCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DELETE
public static final TestScript.TestScriptRequestMethodCode DELETE
HTTP DELETE operation.
-
GET
public static final TestScript.TestScriptRequestMethodCode GET
HTTP GET operation.
-
OPTIONS
public static final TestScript.TestScriptRequestMethodCode OPTIONS
HTTP OPTIONS operation.
-
PATCH
public static final TestScript.TestScriptRequestMethodCode PATCH
HTTP PATCH operation.
-
POST
public static final TestScript.TestScriptRequestMethodCode POST
HTTP POST operation.
-
PUT
public static final TestScript.TestScriptRequestMethodCode PUT
HTTP PUT operation.
-
HEAD
public static final TestScript.TestScriptRequestMethodCode HEAD
HTTP HEAD operation.
-
NULL
public static final TestScript.TestScriptRequestMethodCode NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static TestScript.TestScriptRequestMethodCode[] 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 (TestScript.TestScriptRequestMethodCode c : TestScript.TestScriptRequestMethodCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestScript.TestScriptRequestMethodCode 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
-
fromCode
public static TestScript.TestScriptRequestMethodCode fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-