Package com.ibm.fhir.model.type.code
Enum SearchComparator.ValueSet
- java.lang.Object
-
- java.lang.Enum<SearchComparator.ValueSet>
-
- com.ibm.fhir.model.type.code.SearchComparator.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<SearchComparator.ValueSet>
- Enclosing class:
- SearchComparator
public static enum SearchComparator.ValueSet extends Enum<SearchComparator.ValueSet>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchComparator.ValueSetfrom(String value)Factory method for creating SearchComparator.ValueSet values from a passed string value.Stringvalue()static SearchComparator.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static SearchComparator.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQ
public static final SearchComparator.ValueSet EQ
Equalsthe value for the parameter in the resource is equal to the provided value.
-
NE
public static final SearchComparator.ValueSet NE
Not Equalsthe value for the parameter in the resource is not equal to the provided value.
-
GT
public static final SearchComparator.ValueSet GT
Greater Thanthe value for the parameter in the resource is greater than the provided value.
-
LT
public static final SearchComparator.ValueSet LT
Less Thanthe value for the parameter in the resource is less than the provided value.
-
GE
public static final SearchComparator.ValueSet GE
Greater or Equalsthe value for the parameter in the resource is greater or equal to the provided value.
-
LE
public static final SearchComparator.ValueSet LE
Less of Equalthe value for the parameter in the resource is less or equal to the provided value.
-
SA
public static final SearchComparator.ValueSet SA
Starts Afterthe value for the parameter in the resource starts after the provided value.
-
EB
public static final SearchComparator.ValueSet EB
Ends Beforethe value for the parameter in the resource ends before the provided value.
-
AP
public static final SearchComparator.ValueSet AP
Approximatelythe value for the parameter in the resource is approximately the same to the provided value.
-
-
Method Detail
-
values
public static SearchComparator.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 (SearchComparator.ValueSet c : SearchComparator.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 SearchComparator.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 SearchComparator.ValueSet from(String value)
Factory method for creating SearchComparator.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
-
-