Package com.ibm.fhir.model.type.code
Class QuantityComparator
- 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.QuantityComparator
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class QuantityComparator extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuantityComparator.Builderstatic classQuantityComparator.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static QuantityComparatorGREATER_OR_EQUALSGreater or Equal tostatic QuantityComparatorGREATER_THANGreater thanstatic QuantityComparatorLESS_OR_EQUALSLess or Equal tostatic QuantityComparatorLESS_THANLess than
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QuantityComparator.Builderbuilder()static Codecode(String value)Inherited factory method for creating QuantityComparator objects from a passed string value.booleanequals(Object obj)QuantityComparator.ValueSetgetValueAsEnumConstant()inthashCode()static QuantityComparatorof(QuantityComparator.ValueSet value)Factory method for creating QuantityComparator objects from a passed enum value.static QuantityComparatorof(String value)Factory method for creating QuantityComparator objects from a passed string value.static Stringstring(String value)Inherited factory method for creating QuantityComparator objects from a passed string value.QuantityComparator.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
-
LESS_THAN
public static final QuantityComparator LESS_THAN
Less thanThe actual value is less than the given value.
-
LESS_OR_EQUALS
public static final QuantityComparator LESS_OR_EQUALS
Less or Equal toThe actual value is less than or equal to the given value.
-
GREATER_OR_EQUALS
public static final QuantityComparator GREATER_OR_EQUALS
Greater or Equal toThe actual value is greater than or equal to the given value.
-
GREATER_THAN
public static final QuantityComparator GREATER_THAN
Greater thanThe actual value is greater than the given value.
-
-
Method Detail
-
getValueAsEnumConstant
public QuantityComparator.ValueSet getValueAsEnumConstant()
-
of
public static QuantityComparator of(QuantityComparator.ValueSet value)
Factory method for creating QuantityComparator objects from a passed enum value.
-
of
public static QuantityComparator of(String value)
Factory method for creating QuantityComparator 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 QuantityComparator 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 QuantityComparator 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 QuantityComparator.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static QuantityComparator.Builder builder()
-
-