Package com.ibm.fhir.model.type.code
Enum QuantityComparator.ValueSet
- java.lang.Object
-
- java.lang.Enum<QuantityComparator.ValueSet>
-
- com.ibm.fhir.model.type.code.QuantityComparator.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<QuantityComparator.ValueSet>
- Enclosing class:
- QuantityComparator
public static enum QuantityComparator.ValueSet extends Enum<QuantityComparator.ValueSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GREATER_OR_EQUALSGreater or Equal toGREATER_THANGreater thanLESS_OR_EQUALSLess or Equal toLESS_THANLess than
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QuantityComparator.ValueSetfrom(String value)Factory method for creating QuantityComparator.ValueSet values from a passed string value.Stringvalue()static QuantityComparator.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static QuantityComparator.ValueSet[]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 QuantityComparator.ValueSet LESS_THAN
Less thanThe actual value is less than the given value.
-
LESS_OR_EQUALS
public static final QuantityComparator.ValueSet 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.ValueSet GREATER_OR_EQUALS
Greater or Equal toThe actual value is greater than or equal to the given value.
-
GREATER_THAN
public static final QuantityComparator.ValueSet GREATER_THAN
Greater thanThe actual value is greater than the given value.
-
-
Method Detail
-
values
public static QuantityComparator.ValueSet[] 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 (QuantityComparator.ValueSet c : QuantityComparator.ValueSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QuantityComparator.ValueSet 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
-
value
public String value()
- Returns:
- The java.lang.String value of the code represented by this enum
-
from
public static QuantityComparator.ValueSet from(String value)
Factory method for creating QuantityComparator.ValueSet values 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
-
-