Package com.ibm.fhir.model.type.code
Enum TestScriptRequestMethodCode.ValueSet
- java.lang.Object
-
- java.lang.Enum<TestScriptRequestMethodCode.ValueSet>
-
- com.ibm.fhir.model.type.code.TestScriptRequestMethodCode.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<TestScriptRequestMethodCode.ValueSet>
- Enclosing class:
- TestScriptRequestMethodCode
public static enum TestScriptRequestMethodCode.ValueSet extends Enum<TestScriptRequestMethodCode.ValueSet>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TestScriptRequestMethodCode.ValueSetfrom(String value)Factory method for creating TestScriptRequestMethodCode.ValueSet values from a passed string value.Stringvalue()static TestScriptRequestMethodCode.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static TestScriptRequestMethodCode.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DELETE
public static final TestScriptRequestMethodCode.ValueSet DELETE
DELETEHTTP DELETE operation.
-
GET
public static final TestScriptRequestMethodCode.ValueSet GET
GETHTTP GET operation.
-
OPTIONS
public static final TestScriptRequestMethodCode.ValueSet OPTIONS
OPTIONSHTTP OPTIONS operation.
-
PATCH
public static final TestScriptRequestMethodCode.ValueSet PATCH
PATCHHTTP PATCH operation.
-
POST
public static final TestScriptRequestMethodCode.ValueSet POST
POSTHTTP POST operation.
-
PUT
public static final TestScriptRequestMethodCode.ValueSet PUT
PUTHTTP PUT operation.
-
HEAD
public static final TestScriptRequestMethodCode.ValueSet HEAD
HEADHTTP HEAD operation.
-
-
Method Detail
-
values
public static TestScriptRequestMethodCode.ValueSet[] 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 (TestScriptRequestMethodCode.ValueSet c : TestScriptRequestMethodCode.ValueSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestScriptRequestMethodCode.ValueSet 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
-
value
public String value()
- Returns:
- The java.lang.String value of the code represented by this enum
-
from
public static TestScriptRequestMethodCode.ValueSet from(String value)
Factory method for creating TestScriptRequestMethodCode.ValueSet values from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
-