Package com.ibm.fhir.model.type.code
Enum AssertionResponseTypes.ValueSet
- java.lang.Object
-
- java.lang.Enum<AssertionResponseTypes.ValueSet>
-
- com.ibm.fhir.model.type.code.AssertionResponseTypes.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<AssertionResponseTypes.ValueSet>
- Enclosing class:
- AssertionResponseTypes
public static enum AssertionResponseTypes.ValueSet extends Enum<AssertionResponseTypes.ValueSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BADbadCONFLICTconflictCREATEDcreatedFORBIDDENforbiddenGONEgoneMETHOD_NOT_ALLOWEDmethodNotAllowedNO_CONTENTnoContentNOT_FOUNDnotFoundNOT_MODIFIEDnotModifiedOKAYokayPRECONDITION_FAILEDpreconditionFailedUNPROCESSABLEunprocessable
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssertionResponseTypes.ValueSetfrom(String value)Factory method for creating AssertionResponseTypes.ValueSet values from a passed string value.Stringvalue()static AssertionResponseTypes.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static AssertionResponseTypes.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OKAY
public static final AssertionResponseTypes.ValueSet OKAY
okayResponse code is 200.
-
CREATED
public static final AssertionResponseTypes.ValueSet CREATED
createdResponse code is 201.
-
NO_CONTENT
public static final AssertionResponseTypes.ValueSet NO_CONTENT
noContentResponse code is 204.
-
NOT_MODIFIED
public static final AssertionResponseTypes.ValueSet NOT_MODIFIED
notModifiedResponse code is 304.
-
BAD
public static final AssertionResponseTypes.ValueSet BAD
badResponse code is 400.
-
FORBIDDEN
public static final AssertionResponseTypes.ValueSet FORBIDDEN
forbiddenResponse code is 403.
-
NOT_FOUND
public static final AssertionResponseTypes.ValueSet NOT_FOUND
notFoundResponse code is 404.
-
METHOD_NOT_ALLOWED
public static final AssertionResponseTypes.ValueSet METHOD_NOT_ALLOWED
methodNotAllowedResponse code is 405.
-
CONFLICT
public static final AssertionResponseTypes.ValueSet CONFLICT
conflictResponse code is 409.
-
GONE
public static final AssertionResponseTypes.ValueSet GONE
goneResponse code is 410.
-
PRECONDITION_FAILED
public static final AssertionResponseTypes.ValueSet PRECONDITION_FAILED
preconditionFailedResponse code is 412.
-
UNPROCESSABLE
public static final AssertionResponseTypes.ValueSet UNPROCESSABLE
unprocessableResponse code is 422.
-
-
Method Detail
-
values
public static AssertionResponseTypes.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 (AssertionResponseTypes.ValueSet c : AssertionResponseTypes.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 AssertionResponseTypes.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 AssertionResponseTypes.ValueSet from(String value)
Factory method for creating AssertionResponseTypes.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
-
-