Package org.hl7.fhir.dstu2.model
Enum TestScript.AssertionResponseTypes
- java.lang.Object
-
- java.lang.Enum<TestScript.AssertionResponseTypes>
-
- org.hl7.fhir.dstu2.model.TestScript.AssertionResponseTypes
-
- All Implemented Interfaces:
Serializable,Comparable<TestScript.AssertionResponseTypes>
- Enclosing class:
- TestScript
public static enum TestScript.AssertionResponseTypes extends Enum<TestScript.AssertionResponseTypes>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BADResponse code is 400.CONFLICTResponse code is 409.CREATEDResponse code is 201.FORBIDDENResponse code is 403.GONEResponse code is 410.METHODNOTALLOWEDResponse code is 405.NOCONTENTResponse code is 204.NOTFOUNDResponse code is 404.NOTMODIFIEDResponse code is 304.NULLadded to help the parsersOKAYResponse code is 200.PRECONDITIONFAILEDResponse code is 412.UNPROCESSABLEResponse code is 422.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TestScript.AssertionResponseTypesfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static TestScript.AssertionResponseTypesvalueOf(String name)Returns the enum constant of this type with the specified name.static TestScript.AssertionResponseTypes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OKAY
public static final TestScript.AssertionResponseTypes OKAY
Response code is 200.
-
CREATED
public static final TestScript.AssertionResponseTypes CREATED
Response code is 201.
-
NOCONTENT
public static final TestScript.AssertionResponseTypes NOCONTENT
Response code is 204.
-
NOTMODIFIED
public static final TestScript.AssertionResponseTypes NOTMODIFIED
Response code is 304.
-
BAD
public static final TestScript.AssertionResponseTypes BAD
Response code is 400.
-
FORBIDDEN
public static final TestScript.AssertionResponseTypes FORBIDDEN
Response code is 403.
-
NOTFOUND
public static final TestScript.AssertionResponseTypes NOTFOUND
Response code is 404.
-
METHODNOTALLOWED
public static final TestScript.AssertionResponseTypes METHODNOTALLOWED
Response code is 405.
-
CONFLICT
public static final TestScript.AssertionResponseTypes CONFLICT
Response code is 409.
-
GONE
public static final TestScript.AssertionResponseTypes GONE
Response code is 410.
-
PRECONDITIONFAILED
public static final TestScript.AssertionResponseTypes PRECONDITIONFAILED
Response code is 412.
-
UNPROCESSABLE
public static final TestScript.AssertionResponseTypes UNPROCESSABLE
Response code is 422.
-
NULL
public static final TestScript.AssertionResponseTypes NULL
added to help the parsers
-
-
Method Detail
-
values
public static TestScript.AssertionResponseTypes[] 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.AssertionResponseTypes c : TestScript.AssertionResponseTypes.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.AssertionResponseTypes 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.AssertionResponseTypes fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-