Package com.ibm.fhir.model.type.code
Class DeviceMetricCategory
- 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.DeviceMetricCategory
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class DeviceMetricCategory extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceMetricCategory.Builderstatic classDeviceMetricCategory.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static DeviceMetricCategoryCALCULATIONCalculationstatic DeviceMetricCategoryMEASUREMENTMeasurementstatic DeviceMetricCategorySETTINGSettingstatic DeviceMetricCategoryUNSPECIFIEDUnspecified
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceMetricCategory.Builderbuilder()static Codecode(String value)Inherited factory method for creating DeviceMetricCategory objects from a passed string value.booleanequals(Object obj)DeviceMetricCategory.ValueSetgetValueAsEnumConstant()inthashCode()static DeviceMetricCategoryof(DeviceMetricCategory.ValueSet value)Factory method for creating DeviceMetricCategory objects from a passed enum value.static DeviceMetricCategoryof(String value)Factory method for creating DeviceMetricCategory objects from a passed string value.static Stringstring(String value)Inherited factory method for creating DeviceMetricCategory objects from a passed string value.DeviceMetricCategory.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
-
MEASUREMENT
public static final DeviceMetricCategory MEASUREMENT
MeasurementDeviceObservations generated for this DeviceMetric are measured.
-
SETTING
public static final DeviceMetricCategory SETTING
SettingDeviceObservations generated for this DeviceMetric is a setting that will influence the behavior of the Device.
-
CALCULATION
public static final DeviceMetricCategory CALCULATION
CalculationDeviceObservations generated for this DeviceMetric are calculated.
-
UNSPECIFIED
public static final DeviceMetricCategory UNSPECIFIED
UnspecifiedThe category of this DeviceMetric is unspecified.
-
-
Method Detail
-
getValueAsEnumConstant
public DeviceMetricCategory.ValueSet getValueAsEnumConstant()
-
of
public static DeviceMetricCategory of(DeviceMetricCategory.ValueSet value)
Factory method for creating DeviceMetricCategory objects from a passed enum value.
-
of
public static DeviceMetricCategory of(String value)
Factory method for creating DeviceMetricCategory 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 DeviceMetricCategory 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 DeviceMetricCategory 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 DeviceMetricCategory.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static DeviceMetricCategory.Builder builder()
-
-