Enum AssertResponseCodeTypes
- java.lang.Object
-
- java.lang.Enum<AssertResponseCodeTypes>
-
- org.hl7.fhir.r4.model.codesystems.AssertResponseCodeTypes
-
- All Implemented Interfaces:
Serializable,Comparable<AssertResponseCodeTypes>
public enum AssertResponseCodeTypes extends Enum<AssertResponseCodeTypes>
-
-
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 AssertResponseCodeTypesfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static AssertResponseCodeTypesvalueOf(String name)Returns the enum constant of this type with the specified name.static AssertResponseCodeTypes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OKAY
public static final AssertResponseCodeTypes OKAY
Response code is 200.
-
CREATED
public static final AssertResponseCodeTypes CREATED
Response code is 201.
-
NOCONTENT
public static final AssertResponseCodeTypes NOCONTENT
Response code is 204.
-
NOTMODIFIED
public static final AssertResponseCodeTypes NOTMODIFIED
Response code is 304.
-
BAD
public static final AssertResponseCodeTypes BAD
Response code is 400.
-
FORBIDDEN
public static final AssertResponseCodeTypes FORBIDDEN
Response code is 403.
-
NOTFOUND
public static final AssertResponseCodeTypes NOTFOUND
Response code is 404.
-
METHODNOTALLOWED
public static final AssertResponseCodeTypes METHODNOTALLOWED
Response code is 405.
-
CONFLICT
public static final AssertResponseCodeTypes CONFLICT
Response code is 409.
-
GONE
public static final AssertResponseCodeTypes GONE
Response code is 410.
-
PRECONDITIONFAILED
public static final AssertResponseCodeTypes PRECONDITIONFAILED
Response code is 412.
-
UNPROCESSABLE
public static final AssertResponseCodeTypes UNPROCESSABLE
Response code is 422.
-
NULL
public static final AssertResponseCodeTypes NULL
added to help the parsers
-
-
Method Detail
-
values
public static AssertResponseCodeTypes[] 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 (AssertResponseCodeTypes c : AssertResponseCodeTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AssertResponseCodeTypes 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 AssertResponseCodeTypes fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-