
Package org.hl7.fhir.dstu3.model
Enum Quantity.QuantityComparator
- java.lang.Object
-
- java.lang.Enum<Quantity.QuantityComparator>
-
- org.hl7.fhir.dstu3.model.Quantity.QuantityComparator
-
- All Implemented Interfaces:
Serializable
,Comparable<Quantity.QuantityComparator>
- Enclosing class:
- Quantity
public static enum Quantity.QuantityComparator extends Enum<Quantity.QuantityComparator>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GREATER_OR_EQUAL
The actual value is greater than or equal to the given value.GREATER_THAN
The actual value is greater than the given value.LESS_OR_EQUAL
The actual value is less than or equal to the given value.LESS_THAN
The actual value is less than the given value.NULL
added to help the parsers with the generic types
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Quantity.QuantityComparator
fromCode(String codeString)
String
getDefinition()
String
getDisplay()
String
getSystem()
String
toCode()
static Quantity.QuantityComparator
valueOf(String name)
Returns the enum constant of this type with the specified name.static Quantity.QuantityComparator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LESS_THAN
public static final Quantity.QuantityComparator LESS_THAN
The actual value is less than the given value.
-
LESS_OR_EQUAL
public static final Quantity.QuantityComparator LESS_OR_EQUAL
The actual value is less than or equal to the given value.
-
GREATER_OR_EQUAL
public static final Quantity.QuantityComparator GREATER_OR_EQUAL
The actual value is greater than or equal to the given value.
-
GREATER_THAN
public static final Quantity.QuantityComparator GREATER_THAN
The actual value is greater than the given value.
-
NULL
public static final Quantity.QuantityComparator NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static Quantity.QuantityComparator[] 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 (Quantity.QuantityComparator c : Quantity.QuantityComparator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Quantity.QuantityComparator 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
-
fromCode
public static Quantity.QuantityComparator fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-