Package com.ibm.fhir.model.type.code
Class ExposureState
- 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.ExposureState
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class ExposureState extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExposureState.Builderstatic classExposureState.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static ExposureStateEXPOSUREExposurestatic ExposureStateEXPOSURE_ALTERNATIVEExposure Alternative
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExposureState.Builderbuilder()static Codecode(String value)Inherited factory method for creating ExposureState objects from a passed string value.booleanequals(Object obj)ExposureState.ValueSetgetValueAsEnumConstant()inthashCode()static ExposureStateof(ExposureState.ValueSet value)Factory method for creating ExposureState objects from a passed enum value.static ExposureStateof(String value)Factory method for creating ExposureState objects from a passed string value.static Stringstring(String value)Inherited factory method for creating ExposureState objects from a passed string value.ExposureState.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
-
EXPOSURE
public static final ExposureState EXPOSURE
Exposureused when the results by exposure is describing the results for the primary exposure of interest.
-
EXPOSURE_ALTERNATIVE
public static final ExposureState EXPOSURE_ALTERNATIVE
Exposure Alternativeused when the results by exposure is describing the results for the alternative exposure state, control state or comparator state.
-
-
Method Detail
-
getValueAsEnumConstant
public ExposureState.ValueSet getValueAsEnumConstant()
-
of
public static ExposureState of(ExposureState.ValueSet value)
Factory method for creating ExposureState objects from a passed enum value.
-
of
public static ExposureState of(String value)
Factory method for creating ExposureState 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 ExposureState 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 ExposureState 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 ExposureState.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static ExposureState.Builder builder()
-
-