Package com.ibm.fhir.model.type.code
Enum AssertionOperatorType.ValueSet
- java.lang.Object
-
- java.lang.Enum<AssertionOperatorType.ValueSet>
-
- com.ibm.fhir.model.type.code.AssertionOperatorType.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<AssertionOperatorType.ValueSet>
- Enclosing class:
- AssertionOperatorType
public static enum AssertionOperatorType.ValueSet extends Enum<AssertionOperatorType.ValueSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINScontainsEMPTYemptyEQUALSequalsEVALevaluateGREATER_THANgreaterThanINinLESS_THANlessThanNOT_CONTAINSnotContainsNOT_EMPTYnotEmptyNOT_EQUALSnotEqualsNOT_INnotIn
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssertionOperatorType.ValueSetfrom(String value)Factory method for creating AssertionOperatorType.ValueSet values from a passed string value.Stringvalue()static AssertionOperatorType.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static AssertionOperatorType.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALS
public static final AssertionOperatorType.ValueSet EQUALS
equalsDefault value. Equals comparison.
-
NOT_EQUALS
public static final AssertionOperatorType.ValueSet NOT_EQUALS
notEqualsNot equals comparison.
-
IN
public static final AssertionOperatorType.ValueSet IN
inCompare value within a known set of values.
-
NOT_IN
public static final AssertionOperatorType.ValueSet NOT_IN
notInCompare value not within a known set of values.
-
GREATER_THAN
public static final AssertionOperatorType.ValueSet GREATER_THAN
greaterThanCompare value to be greater than a known value.
-
LESS_THAN
public static final AssertionOperatorType.ValueSet LESS_THAN
lessThanCompare value to be less than a known value.
-
EMPTY
public static final AssertionOperatorType.ValueSet EMPTY
emptyCompare value is empty.
-
NOT_EMPTY
public static final AssertionOperatorType.ValueSet NOT_EMPTY
notEmptyCompare value is not empty.
-
CONTAINS
public static final AssertionOperatorType.ValueSet CONTAINS
containsCompare value string contains a known value.
-
NOT_CONTAINS
public static final AssertionOperatorType.ValueSet NOT_CONTAINS
notContainsCompare value string does not contain a known value.
-
EVAL
public static final AssertionOperatorType.ValueSet EVAL
evaluateEvaluate the FHIRPath expression as a boolean condition.
-
-
Method Detail
-
values
public static AssertionOperatorType.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 (AssertionOperatorType.ValueSet c : AssertionOperatorType.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 AssertionOperatorType.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 AssertionOperatorType.ValueSet from(String value)
Factory method for creating AssertionOperatorType.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
-
-