Package com.ibm.fhir.model.type.code
Class ConditionalReadStatus
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.ConditionalReadStatus
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class ConditionalReadStatus extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConditionalReadStatus.Builderstatic classConditionalReadStatus.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static ConditionalReadStatusFULL_SUPPORTFull Supportstatic ConditionalReadStatusMODIFIED_SINCEIf-Modified-Sincestatic ConditionalReadStatusNOT_MATCHIf-None-Matchstatic ConditionalReadStatusNOT_SUPPORTEDNot Supported
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConditionalReadStatus.Builderbuilder()static Codecode(String value)Inherited factory method for creating ConditionalReadStatus objects from a passed string value.booleanequals(Object obj)ConditionalReadStatus.ValueSetgetValueAsEnumConstant()inthashCode()static ConditionalReadStatusof(ConditionalReadStatus.ValueSet value)Factory method for creating ConditionalReadStatus objects from a passed enum value.static ConditionalReadStatusof(String value)Factory method for creating ConditionalReadStatus objects from a passed string value.static Stringstring(String value)Inherited factory method for creating ConditionalReadStatus objects from a passed string value.ConditionalReadStatus.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
NOT_SUPPORTED
public static final ConditionalReadStatus NOT_SUPPORTED
Not SupportedNo support for conditional reads.
-
MODIFIED_SINCE
public static final ConditionalReadStatus MODIFIED_SINCE
If-Modified-SinceConditional reads are supported, but only with the If-Modified-Since HTTP Header.
-
NOT_MATCH
public static final ConditionalReadStatus NOT_MATCH
If-None-MatchConditional reads are supported, but only with the If-None-Match HTTP Header.
-
FULL_SUPPORT
public static final ConditionalReadStatus FULL_SUPPORT
Full SupportConditional reads are supported, with both If-Modified-Since and If-None-Match HTTP Headers.
-
-
Method Detail
-
getValueAsEnumConstant
public ConditionalReadStatus.ValueSet getValueAsEnumConstant()
-
of
public static ConditionalReadStatus of(ConditionalReadStatus.ValueSet value)
Factory method for creating ConditionalReadStatus objects from a passed enum value.
-
of
public static ConditionalReadStatus of(String value)
Factory method for creating ConditionalReadStatus objects 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
-
string
public static String string(String value)
Inherited factory method for creating ConditionalReadStatus objects 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
-
code
public static Code code(String value)
Inherited factory method for creating ConditionalReadStatus objects 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
-
toBuilder
public ConditionalReadStatus.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static ConditionalReadStatus.Builder builder()
-
-